-
-
Notifications
You must be signed in to change notification settings - Fork 586
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: fsevents.watch is not a function #1180
Comments
Somehow I resolved my issues. (I'll close this issue). I guess upgrading to Thanks. |
Can we reopen this one? I've got this issue in case where there was |
As far as I understand, it will be solved once vite upgrades chokidar But I seem to remember them being blocked on that for whatever reason (probably waiting for me 😅) I'll try chase up on that again |
Describe the bug
When running
webpack serve --open
usingwebpack-dev-server
(https://github.com/webpack/webpack-dev-server),chokidar
is throwing aTypeError: fsevents.watch is not a function
exception.Here's the full output:
Versions (please complete the following information):
3.5.2
16.13.0
To Reproduce:
Using Node.js
v16.13
, runwebpack server --open
usingwebpack-dev-server
.Here's where
webpack-dev-server
is leveragingchokidar
: https://github.com/webpack/webpack-dev-server/blob/d8d5d71c8ca495098e1ee30ebc72ffd657ad5ba0/lib/Server.js#L2233Expected behavior
chokidar
should not callfsevents.watch
if it is not a function within thelib/fsevents-handler.js:93
code base.Additional context
I posted this bug initially to
webpack-dev-server
, and they directed me here. Here's said issue:webpack/webpack-dev-server#4070
The text was updated successfully, but these errors were encountered: