Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation failed - Could not resolve dependency #86

Open
anandbhaskaran opened this issue May 27, 2024 · 1 comment
Open

Installation failed - Could not resolve dependency #86

anandbhaskaran opened this issue May 27, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@anandbhaskaran
Copy link

I just deployed this awesome project via Vercel and everything went well. When I try to build locally I am getting the following error

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@"18.3.1" from the root project
npm ERR!   peer react@"^17.0.2 || ^18" from [email protected]
npm ERR!   node_modules/next-auth
npm ERR!     next-auth@"^4.22.1" from the root project
npm ERR!     peer next-auth@"^4" from @next-auth/[email protected]
npm ERR!     node_modules/@next-auth/prisma-adapter
npm ERR!       @next-auth/prisma-adapter@"^1.0.7" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"19.0.0-beta-4508873393-20240430" from [email protected]
npm ERR! node_modules/next
npm ERR!   next@"14.3.0-canary.57" 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.
@maige-app maige-app bot added the bug Something isn't working label May 27, 2024
@tejashVaishnav
Copy link

degrading next to 14.2 will solve this.

npm install [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants