Describe the bug
When attempting to install @launchdarkly/server-sdk-ai-langchain, npm fails with an ERESOLVE unable to resolve dependency tree error.
To reproduce
Have dotenv@latest installed in a Node.js environment and attempt to install @launchdarkly/server-sdk-ai-langchain.
Expected behavior
The install to succeed.
Logs
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: tabbit@0.0.0
npm error Found: dotenv@17.4.2
npm error node_modules/dotenv
npm error dotenv@"^17.4.2" from the root project
npm error
npm error Could not resolve dependency:
npm error peer dotenv@"^16.4.5" from @browserbasehq/stagehand@1.14.0
npm error node_modules/@browserbasehq/stagehand
npm error peer @browserbasehq/stagehand@"^1.0.0" from @langchain/community@0.3.59
npm error node_modules/@langchain/community
npm error peer @langchain/community@"^0.2.0 || ^0.3.0" from @launchdarkly/server-sdk-ai-langchain@0.5.5
npm error node_modules/@launchdarkly/server-sdk-ai-langchain
npm error @launchdarkly/server-sdk-ai-langchain@"*" 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
Describe the bug
When attempting to install @launchdarkly/server-sdk-ai-langchain, npm fails with an ERESOLVE unable to resolve dependency tree error.
To reproduce
Have
dotenv@latestinstalled in a Node.js environment and attempt to install@launchdarkly/server-sdk-ai-langchain.Expected behavior
The install to succeed.
Logs