Skip to content
This repository has been archived by the owner on May 19, 2023. It is now read-only.

npm install issue #38

Open
nimeshvaghasiya opened this issue Nov 14, 2022 · 1 comment
Open

npm install issue #38

nimeshvaghasiya opened this issue Nov 14, 2022 · 1 comment

Comments

@nimeshvaghasiya
Copy link

nimeshvaghasiya commented Nov 14, 2022

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.

@KATT
Copy link
Member

KATT commented Nov 27, 2022

Feel free to do a PR

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants