-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Checked other resources
- This is a bug, not a usage question. For questions, please use the LangChain Forum (https://forum.langchain.com/).
- I added a very descriptive title to this issue.
- I searched the LangChain.js documentation with the integrated search.
- I used the GitHub search to find a similar question and didn't find it.
- I am sure that this is a bug in LangChain.js rather than my code.
- The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).
Example Code
npm i @langchain/community openai@^5
Error Message and Stack Trace (if applicable)
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/openai
npm error openai@"^5" from the root project
npm error peer openai@"*" from @langchain/[email protected]
npm error node_modules/@langchain/community
npm error @langchain/community@"*" from the root project
npm error
npm error Could not resolve dependency:
npm error peer openai@"^4.62.1" from @browserbasehq/[email protected]
npm error node_modules/@browserbasehq/stagehand
npm error peer @browserbasehq/stagehand@"^1.0.0" from @langchain/[email protected]
npm error node_modules/@langchain/community
npm error @langchain/community@"*" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/ubuntu/.npm/_logs/2025-08-11T03_04_16_346Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/ubuntu/.npm/_logs/2025-08-11T03_04_16_346Z-debug-0.log
Description
"@browserbasehq/stagehand": "^1.0.0", |
this line prevent to install openai v5
System Info
latest
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working