Vite Dev Freezing / Hanging on Start with SvelteKit with Bun Dev #17851
Replies: 13 comments 16 replies
-
|
I've also just had this after updating everything to latest. When going back to the project I ran:
If I had to guess I imagine this is a bun issue, not a vite one. |
Beta Was this translation helpful? Give feedback.
-
|
This is the error that appears nowadays |
Beta Was this translation helpful? Give feedback.
-
|
Getting this and can't find a solution |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Looks like it was fixed eventually. If anyone still experiences this, try upgrading to: |
Beta Was this translation helpful? Give feedback.
-
|
It's still occuring for me on version 1.1.34. Weirdly, it only happens on my Mac, not my Linux workstation. |
Beta Was this translation helpful? Give feedback.
-
|
Issue confirmed on v1.2.0, MacOS. Deleting node_modules helped |
Beta Was this translation helpful? Give feedback.
-
|
Yeah this is definitely still happening for me. The only thing that fixes it is clearing |
Beta Was this translation helpful? Give feedback.
-
|
This still happens. |
Beta Was this translation helpful? Give feedback.
-
|
Just happened to me but without bun. Tried, but didn't fix:
My problem was a circular reference in SASS (that didn't look like it). |
Beta Was this translation helpful? Give feedback.
-
|
Happy 1 year to this issue 🥳 |
Beta Was this translation helpful? Give feedback.
-
|
@Jarred-Sumner still happening on bun very frequently with vite in monorepos. |
Beta Was this translation helpful? Give feedback.
-
|
Give me a year, I'll learn Zig and come back to this one ! |
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.
-
Describe the bug
I have
vite devfreezing on when I runbun devin two of my SvelteKit projects.I want to know if anyone else is having this issue, or whether it's a local thing
Not sure if it's related to #11468 but it is a quite annoying and recurring issue
Reproduction
Difficult to Reproduce
Steps to reproduce
It happens quite often when I update a dependency and I run
bun devit just hangs and freezes even if I re-run it the only thing that fixes it is deleting all node modules withrm -r node_modulesSystem Info
System: OS: macOS 14.2 CPU: (8) arm64 Apple M1 Pro Memory: 152.56 MB / 16.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 20.15.0 - ~/.nvm/versions/node/v20.15.0/bin/node npm: 10.7.0 - ~/.nvm/versions/node/v20.15.0/bin/npm bun: 1.1.18 - ~/.bun/bin/bun Browsers: Chrome: 127.0.6533.99 Safari: 17.2 npmPackages: vite: ^5.4.0 => 5.4.0Used Package Manager
bun
Logs
No response
Validations
Beta Was this translation helpful? Give feedback.
All reactions