Not compatible with your operating system or architecture: fsevents@1.0.11

I was facing the same issue with this dependecy when building other application. Just for the sake of knowledge and to people who are not well used to NPM, and thus uncertain about how their applications will behave: Since fsevents is an API in OS X allows applications to register for notifications of changes to … Read more

How do I make my program watch for file modification in C++?

There are several ways to do this depending on the platform. I would choose from the following choices: Cross Platform Trolltech’s Qt has an object called QFileSystemWatcher which allows you to monitor files and directories. I’m sure there are other cross platform frameworks that give you this sort of capability too, but this one works … Read more

npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents

It’s a warning, not an error. It occurs because fsevents is an optional dependency, used only when project is run on macOS environment (the package provides ‘Native Access to Mac OS-X FSEvents’). And since you’re running your project on Windows, fsevents is skipped as irrelevant. There is a PR to fix this behaviour here: https://github.com/npm/cli/pull/169

How to solve npm install throwing fsevents warning on non-MAC OS?

fsevents is dealt differently in mac and other linux system. Linux system ignores fsevents whereas mac install it. As the above error message states that fsevents is optional and it is skipped in installation process. You can run npm install –no-optional command in linux system to avoid above warning. Further information https://github.com/npm/npm/issues/14185 https://github.com/npm/npm/issues/5095