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
I see:
../../node_modules/.pnpm/[email protected][email protected]/node_modules/openai/core.mjs
A Node.js API is used (process.version at line: 575) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runti
To Reproduce
create a route handler in NextJS that is configured to run in edge
import openai package
run build
Code snippets
No response
OS
macOS
Node version
v20.16.0
Library version
4.67.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
I see:
To Reproduce
Code snippets
No response
OS
macOS
Node version
v20.16.0
Library version
4.67.1
The text was updated successfully, but these errors were encountered: