-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Conflicting Peer Dependencies on npm install #960
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
Comments
As a workaround you might try |
@TimHal thanks, yeah i already did this as a workaround. But still wanted to mention this, since it's not a good experience having this issue right out of the box. |
Thank you :) also makes it easier to find the workaround here if someone doesn't know it yet. |
This seems to be a struggle for the node ecosystem in general right now. There was some code added to @christian-reichart Was this file written to the project root? Is We definitely want to make starting a project seamless as possible. |
@denolfe thanks for looking into it. Actually we collaborated as a team on setting up the repo, so the package.json wasn't 100% clean to the cli setup. I'm still trying to figure out what is wrong in our project, however it seems that it's some local problem of mine. I'll keep you updated if I find out why. |
@denolfe we somehow had lost the .npmrc file you mentioned, with that it works without warnings! :) Still for future reference, somehow npm 8.11.0 seems to cause dependency issues, which weren't there in older versions. |
@denolfe idea/suggestion: |
@christian-reichart Thanks for the feedback 👍 We'll think this one over. Ideally, we'd like to reduce the number of prompts when using that tool. |
any update on this? |
@Mankee There is now a |
This issue has been automatically locked. |
Uh oh!
There was an error while loading. Please reload this page.
Bug Report
When installing the packages, I do get warnings from npm, stating there are conflicting dependencies regarding React.
Expected Behavior
No conflicting dependencies when installing the node modules
Current Behavior
Full output:
Possible Solution
is react-diff-viewer really needed? Maybe some dependencies can be just cut.
Detailed Description
Here is my package.json file after creating a project with the CLI:
The text was updated successfully, but these errors were encountered: