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
node:internal/errors:466
ErrorCaptureStackTrace(err);
^
Error: EISDIR: illegal operation on a directory, watch '.'
at FSWatcher.<computed> (node:internal/fs/watchers:244:19)
at Object.watch (node:fs:2306:34)
at createFsWatchInstance (Y:\pdf\node_modules\chokidar\lib\nodefs-handler.js:119:15)
at setFsWatchListener (Y:\pdf\node_modules\chokidar\lib\nodefs-handler.js:166:15)
at NodeFsHandler._watchWithNodeFs (Y:\pdf\node_modules\chokidar\lib\nodefs-handler.js:331:14)
at NodeFsHandler._handleDir (Y:\pdf\node_modules\chokidar\lib\nodefs-handler.js:567:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async NodeFsHandler._addToNodeFs (Y:\pdf\node_modules\chokidar\lib\nodefs-handler.js:617:16)
at async Y:\pdf\node_modules\chokidar\index.js:451:21
at async Promise.all (index 0)
Emitted 'error' event on FSWatcher instance at:
at FSWatcher._handleError (Y:\pdf\node_modules\chokidar\index.js:647:10)
at NodeFsHandler._addToNodeFs (Y:\pdf\node_modules\chokidar\lib\nodefs-handler.js:645:18)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Y:\pdf\node_modules\chokidar\index.js:451:21
at async Promise.all (index 0) {
errno: -4068,
syscall: 'watch',
code: 'EISDIR',
path: '.',
filename: '.'
}
Expected behavior
The script should work without errors like on MacOS.
The text was updated successfully, but these errors were encountered:
What was the solution since it was a network drive? I'm also getting these errors in by users of triplex.dev in Windows. Vite has a similar problem here: vitejs/vite#13655 that was resolved by a try catch. Is Chokidar doing something similar?
Describe the bug
Chokidar not working on windows.
Versions (please complete the following information):
To Reproduce:
Expected behavior
The script should work without errors like on MacOS.
The text was updated successfully, but these errors were encountered: