You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All versions for the past half of year, currently on 1.2.1 still occurs
What platform is your computer?
Darwin 24.1.0 arm64 arm but it appears that this also happens on WSL
What steps can reproduce the bug?
Create sveltekit project with bun
Install all dependencies
Run it once, Vite caches dependencies
Install new dependency via bun install or bun add or bun remove (or aliases)
Now when you try to run bun dev you'll get:
failed to load config from /path/to/project/vite.config.ts
error when starting dev server:
Error: The service was stopped
at <anonymous> (/path/to/project/node_modules/esbuild/lib/main.js:968:38)
at <anonymous> (/path/to/project/node_modules/esbuild/lib/main.js:622:9)
at afterClose (/path/to/project/node_modules/esbuild/lib/main.js:613:25)
at emit (node:events:84:22)
at endReadableNT (internal:streams/readable:862:50)
at processTicksAndRejections (native:7:39)
error: script "dev" exited with code 1
What is the expected behavior?
Expected to run as with node.js runtime
What do you see instead?
The common fix is to delete node_modules and run bun install again. Many people are experiencing the issue in this discussion: vitejs/vite#17851
Additional information
Please do not close this issue or link me to a single place where it's tracked. Currently it seems that this discussion in Vite's repository is the only place where it's tracked. This has been happening for many months now and no fix or workaround aside from deleting node_modules was introduced.
What version of Bun is running?
All versions for the past half of year, currently on 1.2.1 still occurs
What platform is your computer?
Darwin 24.1.0 arm64 arm but it appears that this also happens on WSL
What steps can reproduce the bug?
bun install
orbun add
orbun remove
(or aliases)bun dev
you'll get:What is the expected behavior?
Expected to run as with node.js runtime
What do you see instead?
The common fix is to delete node_modules and run bun install again. Many people are experiencing the issue in this discussion: vitejs/vite#17851
Additional information
Please do not close this issue or link me to a single place where it's tracked. Currently it seems that this discussion in Vite's repository is the only place where it's tracked. This has been happening for many months now and no fix or workaround aside from deleting node_modules was introduced.
Related issues:
The text was updated successfully, but these errors were encountered: