error fsevents@1.0.14 in windows 7

…衆ロ難τιáo~ 提交于 2019-12-23 19:05:23

问题


Hy... I'm trying to install webpack on windows 7 x64 by running this command :

npm install webpack -g

But then the my command prompt gave an error said "npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.14"... I have been reading a loot sources on internet about this issue, for example : installing windows package, using npm init bla bla, using npm shrinkwrap bla bla, deleting node-module directory and start initiializing it again, changing the node.js version, and so on... but seems none of them suit me well...So is there any other way that I can try...??? Thank you so much... :) I really apreciate your answer here.. :)


回答1:


Actually, the problem here is the HTTP fetch. Try using

npm install --no-optional.

It will work.You can read more about this here



来源:https://stackoverflow.com/questions/38771017/error-fsevents1-0-14-in-windows-7

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