Open marcelxpfeifer opened 3 months ago
@marcelxpfeifer thanks for the report, if you haven't already could you also report this to bun?
@marcelxpfeifer thanks for the report, if you haven't already could you also report this to bun?
Yes the issue can be found here
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