npm install not working

I just started learning node.js and i have installed node.js along with npm module manager. I have created a package.json file and from the root directory iam trying to execute npm install command, instead of creating npm_modules folder it throws error like this: C:\Users\username\Desktop\nodetest>npm install npm WARN package.json backbone-library@0.0.1 No file found! npm http GET npm http GET npm http GET npm http GET npm http GET npm http GET npm http GET npm http GET npm http GET npm ERR! Error: connect ETIMEDOUT npm ERR! at errnoException (net.js:863:11) npm ERR! at Object.afterConnect [as oncomplete] (net.js:854:19) npm ERR! If you need help, you may report this log at: npm ERR! npm ERR! or email it to: npm ERR! npm ERR! System Windows_NT 6.1.7600 npm ERR! command "D:\\Program Files\\nodejs\\\\node.exe" "D:\\Program Files\\no ejs\\node_modules\\npm\\bin\\npm-cli.js" "install" npm ERR! cwd C:\Users\username\Desktop\nodetest npm ERR! node -v v0.10.0 npm ERR! npm -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: npm ERR! C:\Users\username\Desktop\nodetest\npm-debug.log npm ERR! not ok code 0 Iam using Windows 7 OS. Any ideas ? Thanks, Srinivas
It looks like your connection to is timing out, for whatever reason.

以上就是npm install not working的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » Node.js答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准