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.
Activity
StevenStavrakis commentedon Feb 7, 2022
same issue
ashish1497 commentedon Apr 28, 2022
Caused because this package is not updated. add --legacy-peer-deps when installing.