libsql-client-ts icon indicating copy to clipboard operation
libsql-client-ts copied to clipboard

Getting error from @libsql/client while `npm i`

Open harshmangalam opened this issue 1 year ago • 1 comments


npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: @prisma/[email protected]
npm ERR! Found: @libsql/[email protected]
npm ERR! node_modules/@libsql/client
npm ERR!   @libsql/client@"^0.7.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @libsql/client@"^0.3.5 || ^0.4.0 || ^0.5.0 || ^0.6.0" from @prisma/[email protected]
npm ERR! node_modules/@prisma/adapter-libsql
npm ERR!   @prisma/adapter-libsql@"^5.17.0" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: @libsql/[email protected]
npm ERR! node_modules/@libsql/client
npm ERR!   peer @libsql/client@"^0.3.5 || ^0.4.0 || ^0.5.0 || ^0.6.0" from @prisma/[email protected]
npm ERR!   node_modules/@prisma/adapter-libsql
npm ERR!     @prisma/adapter-libsql@"^5.17.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.

harshmangalam avatar Jul 17 '24 19:07 harshmangalam