Skip to content
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

langchain punycode deprecated #7443

Open
5 tasks
mukunthan7 opened this issue Dec 29, 2024 · 3 comments
Open
5 tasks

langchain punycode deprecated #7443

mukunthan7 opened this issue Dec 29, 2024 · 3 comments
Labels
auto:bug Related to a bug, vulnerability, unexpected error with an existing feature

Comments

@mukunthan7
Copy link

mukunthan7 commented Dec 29, 2024

Checked other resources

  • 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

langchain punycode deprecated

Error Message and Stack Trace (if applicable)

(node:47096) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)

Description

@langchain/mongodb and @langchain/community

(node:47096) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)

System Info

node v22.12.0 LTS

@dosubot dosubot bot added the auto:bug Related to a bug, vulnerability, unexpected error with an existing feature label Dec 29, 2024
@jacoblee93
Copy link
Collaborator

Have noticed this too - will dig in and see if I can find the offending package.

@jacoblee93
Copy link
Collaborator

Ok, looks like it's deeper in the OpenAI SDK, which community depends on indirectly.

Will push on this existing issue there:

openai/openai-node#1207

@jacoblee93
Copy link
Collaborator

Looks like there's some progress on this already!

https://community.openai.com/t/your-feedback-requested-node-js-sdk-5-0-0-alpha/1063774/3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto:bug Related to a bug, vulnerability, unexpected error with an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants