New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERESOLVE could not resolve on npm install @uppy/svelte": "2.0.0"
and @uppy/xhr-upload": "3.0.0"
#4057
Comments
@uppy/svelte": "2.0.0
and @uppy/xhr-upload": "3.0.0
@uppy/svelte": "2.0.0"
and @uppy/xhr-upload": "3.0.0"
Hi, you want to have |
It does not help. In a new node project I'm trying to install those two dependencies. And boom! the error! I think something is broken with deps. |
I've tried it in a new project: mkdir repro && cd repro
echo '{"dependencies": {"@uppy/svelte": "2.0.0","@uppy/xhr-upload": "3.0.0"}}' > package.json
npm i I don't see any error, npm installs everything without problem. I can reproduce if I first install the previous version though: mkdir repro && cd repro
echo '{"dependencies": {"@uppy/svelte": "1.0.8","@uppy/xhr-upload": "2.1.2"}}' > package.json
npm i
echo '{"dependencies": {"@uppy/svelte": "2.0.0","@uppy/xhr-upload": "3.0.0"}}' > package.json
npm i # this errors However adding mkdir repro && cd repro
echo '{"dependencies": {"@uppy/svelte": "1.0.8","@uppy/xhr-upload": "2.1.2"}}' > package.json
npm i
echo '{"dependencies": {"@uppy/core":"3.0.0","@uppy/svelte": "2.0.0","@uppy/xhr-upload": "3.0.0"}}' > package.json
npm i # no errors It looks like it's an npm issue, I can't reproduce with Yarn nor pnpm. |
It works now. I removed the old, npm install and installed the new ones. The update was the issue here. IDN why. Thanks for the help. |
OK good to hear 👍 Thanks for the report, I'll add a note in the migration guide about this. |
Initial checklist
Steps to reproduce
I have these in package.json:
I'm trying to install:
Expected behavior
It should install.
Actual behavior
But I'm getting this error:
What's the problem?
The text was updated successfully, but these errors were encountered: