-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to run Next.js app with bun dev
#723
Comments
I think this is a problem with |
Might've been fixed in latest bun version. With those specific package.json and tsconfig.json in the same directory and nothing else, running bun |
@SelfMadeSystem I have tested it - it still doesn't work. |
I'm using a bun-created project (not React) and bun dev is crashing a LOT (not 100%—it usually survives one or two hmr refreshes). It seems to be correlated with large files (one of my test libraries is a dictionary of English words, and that made things fragile, I then added a fairly hefty glb (binary 3d data) scene for a different stress test and it got even worse. It's frustrating because bun dev works so nicely when it works, but now it's an active PITA. |
the old dev server |
Version
0.1.4
Platform
Linux ballpoint 5.10.102.1-microsoft-standard-WSL2 #1 SMP Wed Mar 2 00:30:59 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
What steps will reproduce the bug?
package.json
andtsconfig.json
provided below.bun dev
.package.json
:tsconfig.json
:How often does it reproduce? Is there a required condition?
Always
What is the expected behavior?
The application doesn't crash.
What do you see instead?
The application crashes.
Additional information
I've had a good experience with Bun so far, which is why I decided to give it a go and use Bun in this project. Unfortunately, it didn't work out of the box. Thanks for your work!
The text was updated successfully, but these errors were encountered: