I was trying to install cordova in my PC. I am getting following error.
> Your environment has been set up for using Node.js 0.12.0 (x64) and npm.
C:\Users\DELL>npm install -g cordova
npm WARN engine npm@1.4.28: wanted: {"node":">=0.8","npm":"1"} (current: {"node"
:"0.12.0","npm":"2.5.1"})
npm WARN engine cordova-js@3.7.3: wanted: {"node":"~0.10.x"} (current: {"node":"
0.12.0","npm":"2.5.1"})
npm WARN engine xmlbuilder@2.2.1: wanted: {"node":"0.8.x || 0.10.x"} (current: {
"node":"0.12.0","npm":"2.5.1"})
npm ERR! fetch failed http://ift.tt/1EfGnIY
npm WARN retry will retry, error on last attempt: Error: getaddrinfo ENOTFOUND p
roxy.company.com
npm ERR! fetch failed http://ift.tt/1EfGnIY
npm WARN retry will retry, error on last attempt: Error: getaddrinfo ENOTFOUND p
roxy.company.com
npm ERR! fetch failed http://ift.tt/1EfGnIY
npm ERR! Windows_NT 6.1.7601
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.0
npm ERR! npm v2.5.1
npm ERR! code ENOTFOUND
npm ERR! errno ENOTFOUND
npm ERR! syscall getaddrinfo
npm ERR! network getaddrinfo ENOTFOUND proxy.company.com
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\DELL\npm-debug.log
C:\Users\DELL>
Aucun commentaire:
Enregistrer un commentaire