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

Deprecation Warning for punycode Module Usage #750

Closed
1 task done
nachodeh opened this issue Apr 2, 2024 · 1 comment
Closed
1 task done

Deprecation Warning for punycode Module Usage #750

nachodeh opened this issue Apr 2, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@nachodeh
Copy link

nachodeh commented Apr 2, 2024

Confirm this is a Node library issue and not an underlying OpenAI API issue

  • This is an issue with the Node library

Describe the bug

Hello,

I've encountered a deprecation warning in my project that appears to be originating from this library. When running my Next.js application, the following deprecation warning is emitted:

(node:14106) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.

When removing the OpenAI dependency, the warning is gone.

To Reproduce

  1. Add the openai dependency: import OpenAI from "openai"
  2. Run next build

Code snippets

No response

OS

macOS

Node version

v21.7.1

Library version

4.32.0

@nachodeh nachodeh added the bug Something isn't working label Apr 2, 2024
@rattrayalex
Copy link
Collaborator

This is a duplicate of #527

@rattrayalex rattrayalex closed this as not planned Won't fix, can't repro, duplicate, stale Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants