node.jscordovaproxynetbeans-8

npm ERR! Windows_NT 6.3.9600, unable to install cordova in windows8


I tried to install cordova on my windows8 machine by using the below command in command prompt

npm install -g cordova

but i'm not able to install because of the following error can any one help me out please.

Error:

npm ERR! Windows_NT 6.3.9600 npm ERR! argv "C:\Program Files\nodejs\\node.exe" "C:\Program Files\nodejs \node_modules\npm\bin\npm-cli.js" "install" "-g" "cordova" npm ERR! node v0.12.1 npm ERR! npm v2.5.1 npm ERR! code ECONNRESET

npm ERR! network tunneling socket could not be established, cause=getaddrinfo EN OTFOUND proxy npm ERR! network This is most likely not a problem with npm itself npm ERR! network and is related to network connectivity. npm ERR! network In most cases you are behind a proxy or have bad network settin gs. npm ERR! network npm ERR! network If you are behind a proxy, please make sure that the npm ERR! network 'proxy' config is set properly. See: 'npm help config'

npm ERR! Please include the following file with any support request: npm ERR! C:\Users\miracle\npm-debug.log


Solution

  • Steps you should do:

    1. npm cache clean

    2.Bring back the node version to v0.10.36 as suggested that the latest version of node may not be compatible for the new cli for window users.

    3.Run the node cli or cmd in admin mode

    4.npm install -g cordova