unable to resolve depdency tree [email protected]
Unable to install when using [email protected]
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/[email protected] npm ERR! Found: [email protected] 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 [email protected] 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.
same issue
Caused because this package is not updated. add --legacy-peer-deps when installing.