You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Using Node.js version 20.x or later in a project that depends on node-fetch prior to version 3.2.5 results in Node prompting a MaxListenersExceededWarning: Possible EventEmitter memory leak detected warning (as can be seen here). However, node-fetch versions between 3.1.0 and 3.2.10 also suffer from a Regular Expression Denial of Service (as can be seen here). Installing node-fetch@3.2.10 seems to solve both problems.
To Reproduce
Initialize a new Node.js project;
install node-fetch prior to version 3.2.10 or packages that depend on node-fetch prior to version 3.2.10.
Code snippets
No response
OS
Windows 11
Node version
Node v20.7.0
Library version
openai v4.11.1
The text was updated successfully, but these errors were encountered:
Confirm this is a Node library issue and not an underlying OpenAI API issue
Describe the bug
Using Node.js version 20.x or later in a project that depends on node-fetch prior to version 3.2.5 results in Node prompting a MaxListenersExceededWarning: Possible EventEmitter memory leak detected warning (as can be seen here). However, node-fetch versions between 3.1.0 and 3.2.10 also suffer from a Regular Expression Denial of Service (as can be seen here). Installing node-fetch@3.2.10 seems to solve both problems.
To Reproduce
Code snippets
No response
OS
Windows 11
Node version
Node v20.7.0
Library version
openai v4.11.1
The text was updated successfully, but these errors were encountered: