ict.ken.be

Delivering solid user friendly software solutions since the dawn of time.

npm WARN optional SKIPPING OPTIONAL DEPENDENCY

Categories: Nodejs

Depending on the operating system you are using, you might get warnings like these:

  • npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 (node_modules\fsevents)

Warnings for sure are useful during development, but they just overload build servers with noise that should only be there when requested.

You could use npm install --loglevel=error to prevent the warnings to show up in your build logs.

In case you have hard time finding an issue, you could go with npm install --loglevel=silly

(loglevels: silent, error, warn, info, verbose, silly - see also https://docs.npmjs.com/misc/config)