node.js - npm install not working -
I have just started learning node.js and I have installed npm.js with npm module manager. I've created a package.json file and trying to execute the npm install command from the root directory, instead of creating the npm_modules folder, it throws an error like this:
C: \ Users \ Username \ desktop \ Nodetest & gt; NPM Install NPM Warne Package. Jason Backbone - Library @ 0.0.1.1 No README.md file was found! Npm http GET https://registry.npmjs.org/mongoose npm http GET https://registry.npmjs.org/express npm http GET https://registry.npmjs.org/path NPM HTHP https: // Registry Gone .npmjs.org / path npm http GET https://registry.npmjs.org/express npm http GET https://registry.npmjs.org/mongoose go to npm http https://registry.npmjs.org/express npm Http Https://registry.npmjs.org/path Get NPM HTTP https://registry.npmjs.org/mongoose NPM ERR! Error: Connect ETIMEDOUT NPM ERR! On wrong appointment (net.js: 863: 11) NPM ERR! On object. Connect later [incomplete] (NET JS: 854: 19) NPM ERR! If you need help, you can report on this login: NPM ERR! & Lt; Http: //github.com/isaacs/npm/issues> NPM ERR! Or email it to: NPM ERR! & Lt; Npm-@googlegroups.com> NPM ERR! System Windows_NT 6.1.7600 NMP ERR! Command "D: \\ Program Files \\ node \\\\ node.exe" "D: \\ Program Files \\ no ejs \\ node_module \\ npm \\ bin \\ npm-cli.js" "install "NPM ERR! Cwd C: \ Users \ Username Desktop \ nodetest npm ERR! Node-v v0.10.0 nmp err! NMP-V 1.2.14 NPM ERR! Syscall Connect NPM ERR! Code ETIMEDOUT NPM ERR! Errno ETIMEDOUT npm ERR! NPM ERR! Additional logging details can be found in the following: NPM ERR! C: \ user \ username \ desktop \ nodetest \ npm-debug.log NMP ERR! Any thoughts?
Thanks, Srinivas
This is your problem Will resolve
npm config set proxy proxy-ur: port (http: \ proxy-name: port)
npm config set https-proxy-proxy-url: port
Comments
Post a Comment