Description
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.