Skip to content

[Bug]: the process crashes when restarting the dev engine after an error happens #9365

@sapphi-red

Description

@sapphi-red

Reproduction link or steps

  1. Download https://stackblitz.com/edit/vitejs-vite-xounxnky
  2. Run npm i
  3. Run npm run dev
  4. Edit vite.config.ts

What is expected?

The process keeps running

What is actually happening?

The process exists with the following error:

node:internal/process/promises:394
    triggerUncaughtException(err, true /* fromPromise */);
    ^

[Error: Failed to ensure current build finish] {
  code: 'GenericFailure'
}

System Info

System:
    OS: Windows 11 10.0.26200
    CPU: (32) x64 AMD Ryzen 9 9950X 16-Core Processor            
    Memory: 6.36 GB / 31.06 GB
  Binaries:
    Node: 24.14.1 - C:\Users\green\.vite-plus\js_runtime\node\24.14.1\node.EXE
    Yarn: 1.22.22 - C:\Users\green\.vite-plus\js_runtime\node\24.14.1\yarn.CMD
    npm: 11.11.0 - C:\Users\green\.vite-plus\js_runtime\node\24.14.1\npm.CMD
    pnpm: 10.33.4 - C:\Users\green\.vite-plus\js_runtime\node\24.14.1\pnpm.CMD
    bun: 1.3.13 - C:\Users\green\AppData\Local\Microsoft\WinGet\Links\bun.EXE
    Deno: 2.7.12 - C:\Users\green\AppData\Local\Microsoft\WinGet\Links\deno.EXE
  Browsers:
    Chrome: 147.0.7727.138
    Edge: Chromium (147.0.3912.98)
    Firefox: 150.0 - C:\Program Files\Mozilla Firefox\firefox.exe
    Internet Explorer: 11.0.26100.8115

Any additional comments?

No response

Metadata

Metadata

Assignees

Type

Priority

None yet

Effort

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions