I have successfully installed nodejs in C:\Program File. Nodejs and npm are also working fine by checking version of both.
Description and version info of softwares/hardwares I'm using as below
OS:- Windows 7 Enterprise SP1, 64-bit
RAM:- 4GB
Nodejs:- version 7.4.0
npm:- version 4.0.5
java:- version 1.8.0_121
Now while I'm trying to install express from cmd using npm install --save express
command,following error is coming.
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" "-S" "express"
npm ERR! node v7.4.0
npm ERR! npm v4.0.5
npm ERR! code EAI_AGAIN
npm ERR! errno EAI_AGAIN
npm ERR! syscall getaddrinfo
npm ERR! getaddrinfo EAI_AGAIN registry.npmjs.org:443
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! D:\ExpressJS Apps\ExpressDemo\npm-debug.log
I already searched it in stack overflow and also get a solution of it but for the linux operating system. So please don't mark this question duplicate as there is no solution for windows OS for this issue
via Aditya
No comments:
Post a Comment