Cannot work after bun build #744
Replies: 3 comments 3 replies
-
|
Interesting. If you run |
Beta Was this translation helpful? Give feedback.
-
|
I had to add hooks to nitro config, and I've completely forgotten where I found this solution. (Nuxt v4 config) nitro: {
hooks: {
'rollup:before': function (ctx) {
ctx.options.moduleSideEffects = ctx.options.moduleSideEffects || []
ctx.options.moduleSideEffects.push('reflect-metadata') // better-auth/passkey: tsyringe requires a reflect polyfill
},
},
} |
Beta Was this translation helpful? Give feedback.
-
|
I compared the histories of my two projects from the same period (October 2025), and I'm certain the problem occurred during the upgrade from Other differences should be irrelevant: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I use simplewebauthn/server in bun
And build as singlefile
But got error
Beta Was this translation helpful? Give feedback.
All reactions