- 
                Notifications
    
You must be signed in to change notification settings  - Fork 1.3k
 
Closed as not planned
Labels
bugSomething isn't workingSomething isn't working
Description
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
- Add the openai dependency: 
import OpenAI from "openai" - Run 
next build 
Code snippets
No response
OS
macOS
Node version
v21.7.1
Library version
4.32.0
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working