Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Squash fsevents errors (which are not errors on Linux) #241
On non-macOS systems, the following error is logged to the console on every rebuild:
Error: Cannot find module 'fsevents' from '…/node_modules/chokidar/lib'
fsevents is a macOS-only module and should not be causing errors on other platforms.
This PR squashes that specific error.
Thanks! Can you provide a few more details? It seems like this is a bit of a hack, and will fail in some legitimate cases, e.g. if a user tries to require
Are you getting this issue on a simple app like so:
// index.js console.log("Hello, World");
# in terminal budo index.js:bundle.js --live
Hey Matt, yeah I agree it’s hackish. Looks like the issue stems from Chokidar and has come up in various guises multiple times.
Can’t reproduce with your simple test.
I don’t mind if you close this. It will still come up in searches in case anyone else is affected.