taxonomy icon indicating copy to clipboard operation
taxonomy copied to clipboard

Unable to resolve dependency tree after npm install

Open joshdance opened this issue 1 year ago • 2 comments

Pulled the github repo, and ran npm install. Got this error.

'Log files: /Users/adminadmin/.npm/_logs/2024-01-25T04_05_04_986Z-debug-0.log

npm resolution error report

While resolving: [email protected] Found: [email protected] node_modules/next next@"13.3.2-canary.13" from the root project

Could not resolve dependency: peer next@"^12.2.5 || ^13" from [email protected] node_modules/next-auth next-auth@"4.22.1" from the root project peer next-auth@"^4" from @next-auth/[email protected] node_modules/@next-auth/prisma-adapter @next-auth/prisma-adapter@"^1.0.6" from the root project

Fix the upstream dependency conflict, or retry this command with --force or --legacy-peer-deps to accept an incorrect (and potentially broken) dependency resolution.

joshdance avatar Jan 25 '24 04:01 joshdance

I am also stuck here

kumardeepam avatar Feb 05 '24 09:02 kumardeepam

Use pnpm intall as per the README.

lewisdonovan avatar Feb 24 '24 11:02 lewisdonovan