Next.js Discord

Discord Forum

Stuck doombuilding when using Bun as runtime

Answered
Griffon Nivernais posted this in #help-forum
Open in Discord
Griffon NivernaisOP
Stuck on "Creating optimised production build" whenever building with Bun, i.e bun --bun run build. Has this occurred for anybody else?
Answered by DirtyCajunRice | AppDir
Pretty sure bun is not fully compatible. Id stick to npm/yarn/pnpm
View full answer

7 Replies

Griffon NivernaisOP
Bump.
@Griffon Nivernais Bump.
Pretty sure bun is not fully compatible. Id stick to npm/yarn/pnpm
Answer
Griffon NivernaisOP
Hmm, might be something I need to take up with the Bun team. Thanks all the same!
For bun, the install is great, just don't use it to build or run your app
(ie don't use --bun right now)
Griffon NivernaisOP
Thank you so much! I'll keep that in mind moving forward. :)
American Goldfinch
Same problem