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
When trying to run OpenAI in production with bun I get the following error Cannot find module "openai/_shims/auto/runtime" from "/app/.output/server/node_modules/openai/_shims/index.mjs"
It can be reproduced with minimal setup using Nuxt.
Confirm this is a Node library issue and not an underlying OpenAI API issue
Describe the bug
When trying to run OpenAI in production with bun I get the following error
Cannot find module "openai/_shims/auto/runtime" from "/app/.output/server/node_modules/openai/_shims/index.mjs"
It can be reproduced with minimal setup using Nuxt.
To Reproduce
bun install
bun build
bun .output/server/index.mjs
Running with node works
Code snippets
No response
OS
macOS, Linux
Node version
Bun v1.1.26
Library version
openai v4.56.0
The text was updated successfully, but these errors were encountered: