Npm error unsupported platform for fsEvents when deploying to Azure Npm error unsupported platform for fsEvents when deploying to Azure azure azure

Npm error unsupported platform for fsEvents when deploying to Azure


npm i -f doesn't sound like a good idea...

Instead, add fsevents to optional dependencies (if fsevents is in your package.json):

"optionalDependencies": {    "fsevents": "^2.0.7"}


@Aaron is correct. This was failing when I was running npm install from within maven-frontend-plugin.

I resolved the issue using the command npm i -f( npm install forced)


fsevents is an OS X-only module, you can't install it on Windows.