-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
I try to upgrade my project react 16 to 18, I getting below error
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: os-docs@1.0.0
npm ERR! Found: react@18.2.0
npm ERR! node_modules/react
npm ERR! react@"^18.2.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^15.x || ^16.x" from react-onclickout@2.0.8
npm ERR! node_modules/react-onclickout
npm ERR! react-onclickout@"*" 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.
CarlosVinicius3258
Metadata
Metadata
Assignees
Labels
No labels