-
Notifications
You must be signed in to change notification settings - Fork 823
Open
Labels
Description
Describe the bug
When using Bun for starting my Nitro app using bun .output/server/index.mjs
I get:
error: Cannot find package 'stripe' from '/opt/render/project/myproject/.output/server/chunks/routes/product/_id/checkout.mjs'
cause: error: Cannot find package 'stripe' from '/opt/render/project/myproject/.output/server/chunks/routes/product/_id/checkout.mjs',
On the other hand it works with the exact same built code when starting the app with node: node .output/server/index.mjs
To Reproduce
If required I can create a reproduction repo
Expected behavior
Code snippets
OS
macOS
Bun version
1.2.5
Library version
17.7.0
API version
Additional context
I have a lot of packages in my project, Stripe is the only one that ever gave me this error.