Node NPM Install – 500 Internal Server Error

问题内容:

I’m behind a corporate firewall and I wish to use npm to install packages.

Initially when I ran the comand npm install i was getting proxy authentication error.

I then set the proxy config as below:

npm config set proxy http://"ninjadev:5trongP@ssw0rd"@proxy.some-bigcorp.com:PORT

Now I get all i keep getting is 500 internal server error. See example below:

npm : npm ERR! code E500
 At line:1 char:1
 + npm install
 + ~~~~~~~~~~~
   + CategoryInfo          : NotSpecified: (npm ERR! code E500:String) [], 
   RemoteException
   + FullyQualifiedErrorId : NativeCommandError

 npm

 ERR!
  500 Internal Server Error: node-sass@^4.5.3

Any ideas?

问题评论:

原文地址:

https://stackoverflow.com/questions/47752318/node-npm-install-500-internal-server-error

添加评论

友情链接:蝴蝶教程