简体   繁体   中英

How to Fix Cordova installation error

I am installing cordova using NPM (Node.js), but I am getting the below error:

在此处输入图片说明

Please help me to fix it.

This looks like a proxy issue , i believe that u have to set the proxy in the npm , you could do that by running this

npm config set proxy http://proxy.company.com:8080
npm config set https-proxy http://proxy.company.com:8080

port name and company would vary . as accordingly .

Go to Tools->Internet option->Connection->Lan Setting in the internet explorer in the lan settings look into the proxy server address and port (if any) Hope this helps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM