Skip to content

npm install langchain@0.0.144 error #2529

Description

@youht88

when I install new version of langchain ,I got error like this:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: undefined@undefined
npm ERR! Found: cohere-ai@6.2.2
npm ERR! node_modules/cohere-ai
npm ERR! peerOptional cohere-ai@"^6.0.0" from chromadb@1.5.8
npm ERR! node_modules/chromadb
npm ERR! peerOptional chromadb@"^1.5.3" from langchain@0.0.122
npm ERR! node_modules/langchain
npm ERR! langchain@"0.0.122" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peerOptional cohere-ai@"^5.0.2" from langchain@0.0.122
npm ERR! node_modules/langchain
npm ERR! langchain@"0.0.122" 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! See /home/langchain/.npm/eresolve-report.txt for a full report.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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