next-13 icon indicating copy to clipboard operation
next-13 copied to clipboard

npm install issue

Open nimeshvaghasiya opened this issue 3 years ago • 1 comments

npm install throws below error messages to console log

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/next
npm ERR!   next@"^13.0.1-canary.3" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer next@"^12.2.5" from [email protected]
npm ERR! node_modules/next-auth
npm ERR!   next-auth@"4.14.0" 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.

probably, change version to next@"^13.0.3" from next@"^13.0.1-canary.3" and "next-auth": to "4.16.4", will work.

nimeshvaghasiya avatar Nov 14 '22 09:11 nimeshvaghasiya

Feel free to do a PR

KATT avatar Nov 27 '22 14:11 KATT