Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

error [email protected] in windows 7

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: [email protected]"... 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.. :)

like image 690
Maryadi Poipo Avatar asked Dec 08 '22 21:12

Maryadi Poipo


1 Answers

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

npm install --no-optional.

It will work.You can read more about this here

like image 77
LAV VISHWAKARMA Avatar answered Dec 29 '22 01:12

LAV VISHWAKARMA