Replies: 15 comments 4 replies
-
I have no expectations of immediate support, but I would definitely like to hear Vercel's take/stance, or even just to know if they have planned a timeframe to spike on bun support in the near future. Thanks for opening the ticket! |
Beta Was this translation helpful? Give feedback.
-
You can use Next.js with Bun, see PRs #53467 #53590. Using Bun runtime on Vecel, not yet, see https://github.com/orgs/vercel/discussions/2021#discussioncomment-6967946 |
Beta Was this translation helpful? Give feedback.
-
Well, kinda. According to Bun documentation, Bun can be used as a package manager, but Next uses Node APIs that are not compatible with Bun at the moment (annoyingly, there is no link to discussion around which APIs are blocking).
For me at least, there is little point in adopting bun if it doesn't replace all the relevant tooling. Even if there are edges, runtime support is the one that really matters for the majority of the benefits. |
Beta Was this translation helpful? Give feedback.
-
Tried example app-dir-i18n-routing in my Ubuntu VM. Didn't encounter any error.
|
Beta Was this translation helpful? Give feedback.
-
Well, I am using docker in nextjs.. |
Beta Was this translation helpful? Give feedback.
-
I tried using bun with Next.js. Had no problem installing it, but I had to install the types manually. It wasn't installed automatically by the import Database from 'bun:sqlite'
const db = new Database("bun.db") bun:sqlite
Module build failed: UnhandledSchemeError: Reading from "bun:sqlite" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "bun:" URIs. Any news on that or how to solve it? |
Beta Was this translation helpful? Give feedback.
-
I'm tracking esbuild related issue (not running postinstall) in oven-sh/bun#5148, which is blocking Vercel deploy of my app |
Beta Was this translation helpful? Give feedback.
-
I still had these errors when trying to run my Turborepo starter project with Bun. If you go to the
and
Steps to reproduce: 1. Initial Setup: 2. Switching to Bun: 3. Cleaning Up: 4. Building with Bun: 5. Result: |
Beta Was this translation helpful? Give feedback.
-
Was wondering if someone from Vercel ever addressed this? Bun is currently much more mature, getting close to 100% NodeJS compatibility. |
Beta Was this translation helpful? Give feedback.
-
I would love to see Bun Runtime directly on Vercel! |
Beta Was this translation helpful? Give feedback.
-
I think it's time to add Bun support as now. |
Beta Was this translation helpful? Give feedback.
-
What is the status here? |
Beta Was this translation helpful? Give feedback.
-
Would love to see this 🙏 |
Beta Was this translation helpful? Give feedback.
-
Would love to see this 🙏 (1) |
Beta Was this translation helpful? Give feedback.
-
I built a custom Bun runtime for Vercel serverless functions here: https://github.com/johnny-woodtke/vercel-bun All it requires is a few lines in your project's Example deployment here: https://vercel-bun-nine.vercel.app |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What is the improvement or update you wish to see?
bun is officially 1.0 and production ready.. I am looking forward to replace all test suit, package manager and runtime in bun.
I know that it may sound awkward to vercel teams that are working at turbopack.. but clearly bun is moving to good direction for js ecosystem
Is there any context that might help us understand?
any possible to run bun runtime?
Does the docs page already exist? Please link to it.
No response
Beta Was this translation helpful? Give feedback.
All reactions