tursodatabase / tursodatabase/libsql-client-ts

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

Open
#241 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
576
Forks
69
PR merge metrics
No merged PRs in 30d

Description


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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported npm install failure and inspect the dependency declarations for @libsql/client and @prisma/adapter-libsql. Confirm that installation resolves without ERESOLVE while keeping the supported peer-dependency ranges intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.