steven-tey / precedent

An opinionated collection of components, hooks, and utilities for your Next.js project.
https://precedent.dev
MIT License
4.65k stars 406 forks source link

Update package.json to resolve build dependencies #81

Closed llorrac1 closed 2 months ago

llorrac1 commented 4 months ago

Suggest updating minimum next-auth and next in order to mitigate this install issue.

npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: precedent@0.1.0 npm ERR! Found: next@13.5.5-canary.19 npm ERR! node_modules/next npm ERR! next@"13.5.5-canary.19" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer next@"^12.2.5 || ^13" from next-auth@4.22.1 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/prisma-adapter@1.0.7 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! 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.

vercel[bot] commented 4 months ago

@llorrac1 is attempting to deploy a commit to the Elegance Team on Vercel.

A member of the Team first needs to authorize it.