Unsupported platform for inotify@1.4.1: wanted {“os”:“linux”,“arch”:“any”}

廉价感情. 提交于 2019-12-05 03:52:09

There is a typo in your command:

npm install copy-webpack-plugin --save dev

Should be:

npm install copy-webpack-plugin --save-dev

(You forgot a dash)

The typo will make npm try to install https://www.npmjs.com/package/dev, which depends on inotify.

Your error message is because inotify only works on Linux and you are on a Mac.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!