Hi,
I am using Windows OS.
I want to deploy multiple proxies at same time in apigee edge so i am using node.js . i installed node and npm .
node --version
v7.4.0
npm --version
4.0.5
I am trying to install apigeedm below as mentioned here https://www.npmjs.com/package/apigeedm :
npm install -g apigeedm
But it gives below error:
6.1.7601 npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\ node_modules\\npm\\bin\\npm-cli.js" "install" "apigeedm" "--force" npm
ERR! node v7.4.0 npm ERR! npm v4.0.5 npm ERR! code ECONNREFUSED npm ERR! errno ECONNREFUSED npm ERR! syscall connect npm
ERR! Error: connect ECONNREFUSED 151.101.44.162:443 npm
ERR! at Object.exports._errnoException (util.js:1022:11) npm
ERR! at exports._exceptionWithHostPort (util.js:1045:20) npm
ERR! at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1090:14) npm
ERR! { Error: connect ECONNREFUSED 151.101.44.162:443 npm
ERR! at Object.exports._errnoException (util.js:1022:11) npm ERR! at exports._exceptionWithHostPort (util.js:1045:20) npm
ERR! at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1090:14) npm ERR! code: 'ECONNREFUSED', npm ERR! errno: 'ECONNREFUSED', npm
ERR! syscall: 'connect', npm ERR! address: '151.101.44.162', npm ERR! port: 443 } npm ERR! npm ERR! If you are behind a proxy, please make sure that the npm
ERR! 'proxy' config is set properly. See: 'npm help config' npm ERR! Please include the following file with any support request: npm ERR! C:\Users\zpath\open api\npm-git-src\npm-1.4.9\node_modules\npm\npm- debug.log
Solved! Go to Solution.
Thanks for your sugggestions. It was in fact firewall issue. After i did proxy settings, it worked for me.
@zalak pathak , Looks like network proxy issue, Can you able to install any other npm package ? like sudo npm install -g nodemon ?
I am geting same error in npm install -f nodemon
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" "nodemon" npm ERR! node v7.4.0 npm ERR! npm v4.0.5 npm ERR! Cannot read property 'path' of null npm ERR! npm ERR! If you need help, you may report this error at: npm ERR! <https://github.com/npm/npm/issues>
Looks to me like the outbound connection is being blocked by a firewall.
Thanks for your sugggestions. It was in fact firewall issue. After i did proxy settings, it worked for me.