Repository navigation
Cannot work after bun build #744
seepine
started this conversation in
Troubleshooting
Replies: 3 comments 3 replies
|
Interesting. If you run |
2 replies
|
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
},
},
} |
1 reply
|
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: |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
All reactions