Skip to content

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

@harshmangalam

Description

@harshmangalam

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions