react-codejar icon indicating copy to clipboard operation
react-codejar copied to clipboard

❌ Error NextJs installation

Open babur001 opened this issue 4 years ago • 1 comments

Error while installing:

NextJS -v 10.0.0 React -v 17.0.1 Node -v 14.15.4

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR!   react@"17.0.1" 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/react-codejar
npm ERR!   react-codejar@"*" 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.

babur001 avatar Aug 03 '21 08:08 babur001

Any possible update? I am hitting the same error and was curious if anyone has tried the --legacy-peer-deps option? And if there were any negative repercussions by doing so. Thank you in advance for your time.

jameso-tx avatar Oct 27 '22 15:10 jameso-tx