tursodatabase / libsql-client-ts

TypeScript/JavaScript client API for libSQL
https://docs.turso.tech/sdk/ts/quickstart
MIT License
213 stars 30 forks source link

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

Open harshmangalam opened 1 month ago

harshmangalam commented 1 month ago

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: @prisma/adapter-libsql@5.17.0
npm ERR! Found: @libsql/client@0.7.0
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/adapter-libsql@5.17.0
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/client@0.6.2
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/adapter-libsql@5.17.0
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 commented 1 month ago

Let me know if this error related to prisma adapter @prisma/adapter-libsql.