-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm install [email protected] error #2529
Comments
🤖 Hello, The error you're encountering is due to a conflict between the versions of the To resolve this issue, you can try the following steps:
npm uninstall cohere-ai
npm install [email protected]
npm uninstall langchain
npm install [email protected] If the issue persists, it might be due to other conflicting dependencies in your project. In this case, you might need to update your dependencies to the versions required by LangChain Please note that the specific version requirements for the dependencies of LangChain Let me know if this helps or if you need further assistance. Best, SourcesThis response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot. |
resolved, thanks! |
I'm still seeing this with langchain 0.0.144 and I do not have cohere-ai installed? How did you resolve this? |
FYI I just created an empty directory and attempted to install 0.0.144 and got the above error, there is no package.lock file present. Please can you re-open this issue?
|
Thanks this solved the issue for me as well. |
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: [email protected]
npm ERR! node_modules/cohere-ai
npm ERR! peerOptional cohere-ai@"^6.0.0" from [email protected]
npm ERR! node_modules/chromadb
npm ERR! peerOptional chromadb@"^1.5.3" from [email protected]
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 [email protected]
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.
The text was updated successfully, but these errors were encountered: