Skip to content
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

unable to resolve depdency tree REACT@17.0.2 #5

Open
ondrovic opened this issue Oct 1, 2021 · 2 comments
Open

unable to resolve depdency tree REACT@17.0.2 #5

ondrovic opened this issue Oct 1, 2021 · 2 comments

Comments

@ondrovic
Copy link

ondrovic commented Oct 1, 2021

Unable to install when using react@17.02

npm i --save-peer use-dynamic-refs
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: @dbi-services/library@1.0.95
npm ERR! Found: react@17.0.2
npm ERR! node_modules/react
npm ERR! peer react@"^17.0.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.0.0" from use-dynamic-refs@1.0.0
npm ERR! node_modules/use-dynamic-refs
npm ERR! peer use-dynamic-refs@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

@StevenStavrakis
Copy link

same issue

@ashish1497
Copy link

Caused because this package is not updated. add --legacy-peer-deps when installing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants