#1758·lucia

ERESOLVE unable to resolve dependency tree

Author: iamshulzCreated Dec 10, 2024Updated Feb 14, 2025
bash
C:\laragon\www\PERSONAL\cv-builder>npm install @lucia-auth/adapter-prisma            
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: nuxt-app@undefined
npm ERR! Found: @prisma/[email protected]
npm ERR! node_modules/@prisma/client
npm ERR!   dev @prisma/client@"^6.0.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @prisma/client@"^4.2.0 || ^5.0.0" from @lucia-auth/[email protected]
npm ERR! node_modules/@lucia-auth/adapter-prisma
npm ERR!   @lucia-auth/adapter-prisma@"*" 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.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! C:\Users\olive\AppData\Local\npm-cache\_logs\2024-12-10T04_58_21_681Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: C:\Users\olive\AppData\Local\npm-cache\_logs\2024-12-10T04_58_21_681Z-debug-0.log

Package needs to be updated