-
-
Notifications
You must be signed in to change notification settings - Fork 212
Description
Describe the bug
The [plugin:vite:esbuild] The service is no longer running error indicates that esbuild, used by Vite for code transformation, has stopped working unexpectedly. can you give me the solutions please
Reproduction
. npm create vite@latest
Steps to reproduce
pnpm run dev
System Info
--system --npmPackages '{vite,@vitejs/*}' --binaries --browsersUsed Package Manager
pnpm
Logs
[plugin:vite:esbuild] The service is no longer running
D:/Nouveau/boltproject/bolt.diy/app/entry.server.tsx
at D:\Nouveau\boltproject\bolt.diy\node_modules.pnpm\[email protected]\node_modules\esbuild\lib\main.js:737:38
at sendRequest (D:\Nouveau\boltproject\bolt.diy\node_modules.pnpm\[email protected]\node_modules\esbuild\lib\main.js:618:36)
at start (D:\Nouveau\boltproject\bolt.diy\node_modules.pnpm\[email protected]\node_modules\esbuild\lib\main.js:736:9)
at Object.transform2 [as transform] (D:\Nouveau\boltproject\bolt.diy\node_modules.pnpm\[email protected]\node_modules\esbuild\lib\main.js:797:5)
at D:\Nouveau\boltproject\bolt.diy\node_modules.pnpm\[email protected]\node_modules\esbuild\lib\main.js:2040:77
at new Promise ()
at Object.transform (D:\Nouveau\boltproject\bolt.diy\node_modules.pnpm\[email protected]\node_modules\esbuild\lib\main.js:2040:36)
at transform (D:\Nouveau\boltproject\bolt.diy\node_modules.pnpm\[email protected]\node_modules\esbuild\lib\main.js:1875:62)
at transformWithEsbuild (file:///D:/Nouveau/boltproject/bolt.diy/node_modules/.pnpm/vite@5.4.11_@types[email protected][email protected]/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:19231:26)
at TransformPluginContext.transform (file:///D:/Nouveau/boltproject/bolt.diy/node_modules/.pnpm/vite@5.4.11_@types[email protected][email protected]/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:19296:24)
at PluginContainer.transform (file:///D:/Nouveau/boltproject/bolt.diy/node_modules/.pnpm/vite@5.4.11_@types[email protected][email protected]/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:49096:18)
at loadAndTransform (file:///D:/Nouveau/boltproject/bolt.diy/node_modules/.pnpm/vite@5.4.11_@types[email protected][email protected]/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:51929:27
Click outside, press Esc key, or fix the code to dismiss.
You can also disable this overlay by setting server.hmr.overlay to false in vite.config.ts.

Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a Vite issue and not a framework-specific issue.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.