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
Hi, I'm using Vite to build a Cloudflare Pages project. When starting the dev server it always fails with the following error, sometimes immediately sometimes after a few file changes.
As per #13234 this should've been fixed in 5.0.0, however, it still breaks here.
npx vite -v
vite/5.4.11 win32-x64 node-v22.12.0`
npx vite dev
VITE v5.4.11 ready in 14166 ms
➜ Local: http://localhost:5173/
➜ Network: use --host to expose
➜ press h + enter to show help
node:events:502
throw er; // Unhandled 'error' event
^
Error: EBUSY: resource busy or locked, lstat 'C:\DumpStack.log.tmp'
Emitted 'error' event on FSWatcher instance at:
at FSWatcher._handleError (file:///C:/Users/user/dev/project-name/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:44480:10)
at NodeFsHandler._boundHandleError (file:///C:/Users/user/dev/project-name/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:42953:43)
at ReaddirpStream.emit (node:events:524:28)
at ReaddirpStream.emit (node:domain:489:12)
at emitErrorNT (node:internal/streams/destroy:170:8)
at emitErrorCloseNT (node:internal/streams/destroy:129:3)
at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {
errno: -4082,
code: 'EBUSY',
syscall: 'lstat',
path: 'C:\\DumpStack.log.tmp'
}
Node.js v22.12.0
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. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
Describe the bug
Hi, I'm using Vite to build a Cloudflare Pages project. When starting the dev server it always fails with the following error, sometimes immediately sometimes after a few file changes.
As per #13234 this should've been fixed in 5.0.0, however, it still breaks here.
This is my vite.config.ts:
Reproduction
https://github.com/lauragift21/staff-directory/
Steps to reproduce
Run
npm install
followed bynpx vite dev
.Wait for the server to start up, then proceed to making some file changes.
System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: