NPM EXPRESS module installation error - node.js

I am getting below error while trying to install EXPRESS.js package with NPM. I am not sure why this is coming. I am trying with admin user on Windows PC.
ERROR 1:
C:\Users\Dell>npm install -g express
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs
\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "express"
npm ERR! node v0.12.2
npm ERR! npm v2.7.4
npm ERR! code ECONNRESET
npm ERR! network tunneling socket could not be established, cause=connect ECONNR
EFUSED
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
ERROR 2: after running "npm config delete proxy" command.
C:\Users\Dell>npm install -g express
npm ERR! fetch failed https://registry.npmjs.org/express/-/express-4.13.1.tgz
npm WARN retry will retry, error on last attempt: Error: getaddrinfo ENOTFOUND r
egistry.npmjs.org
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "express"
npm ERR! node v0.12.2
npm ERR! npm v2.7.4
npm ERR! shasum check failed for C:\Users\Dell\AppData\Local\Temp\npm-7968-a914624e\registry.npmjs.org\express\-\express-4.13.1.tgz
npm ERR! Expected: f117aa1d1f6bedbc8de5b6d71fc31a5acd0f63df
npm ERR! Actual: 6e848d49c41d8af4d604e4c76036af8a5552ec5a
npm ERR! From: https://registry.npmjs.org/express/-/express-4.13.1.tgz
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! C:\Users\Dell\npm-debug.log

Related

unable to install Gulp on nodejs

I am getting the below error while i run the command "npm install gulp -g".
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\
node_modules\\npm\\bin\\npm-cli.js" "install" "gulp" "-g"
npm ERR! node v6.10.2
npm ERR! npm v3.10.10
npm ERR! code ETIMEDOUT
npm ERR! errno ETIMEDOUT
npm ERR! syscall connect
npm ERR! network connect ETIMEDOUT (IP)
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\MID\npm-debug.log

Error installing cordova windows 7

I have some problem while i started to install cordova
I use windows 7
I run npm install -g cordova in administrator mode
Attempting to install cordova as per the docs, gives the following
$ npm install -g cordova
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 v4.3.2
npm ERR! npm v2.14.12
npm ERR! code ETIMEDOUT
npm ERR! errno ETIMEDOUT
npm ERR! syscall connect
npm ERR! network connect ETIMEDOUT 103.245.222.162:443
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 settings.
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\sridharanp\npm-debug.log

how can I install gulp for windows 7?

Trying to install gulp with npm :
npm install gulp
Getting the following error:
npm ERR! fetch failed https://registry.npmjs.org/minimist/-/minimist-1.1.1.tgz
npm ERR! fetch failed https://registry.npmjs.org/minimist/-/minimist-1.1.1.tgz
npm ERR! fetch failed https://registry.npmjs.org/minimist/-/minimist-1.1.1.tgz
npm ERR! network tunneling socket could not be established, cause=connect ETIMEDOUT
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 settings.
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! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "gulp"
npm ERR! cwd C:\gulpapp
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.28
npm ERR! code ECONNRESET
npm ERR! not ok code 0
Then I tried this:
npm config set proxy=null
Did not solve it either. How get around this?

nodejs npm package install failed

I am new to nodejs, and I have just installed it in my Windows 7 PC. The next thing I try to do is to install express.js package via npm npm install express --save, and I got following error messages
npm ERR! fetch failed http://registry.npmjs.org/ipaddr.js/-/ipaddr.js-0.1.6.tgz
npm ERR! Error: 403 Forbidden
npm ERR! at WriteStream.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\fetch.js:58:12)
npm ERR! at WriteStream.emit (events.js:117:20)
npm ERR! at evalmachine.<anonymous>:1610:14
npm ERR! at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\graceful-fs.js:102:5
npm ERR! at Object.oncomplete (evalmachine.<anonymous>:108:15)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "express" "--save"
npm ERR! cwd C:\temp\NodeJS_POC
npm ERR! node -v v0.10.35
npm ERR! npm -v 1.4.28
npm ERR! not ok code 0
Anybody knows why?
It turns to be our proxy server actually blocks http://registry.npmjs.org/ipaddr.js/-/ipaddr.js-0.1.6.tgz

Error when installing Forever for node.js server

I'm trying to install Forever for my node.js server but getting following error when npm install -g forever, I have node v0.8.5 and npm v1.1.46
npm ERR! fetch failed https://github.com/indexzero/read/tarball/refactor-option
l-streams
npm http GET https://github.com/indexzero/read/tarball/refactor-optional-stream
npm ERR! fetch failed https://github.com/indexzero/read/tarball/refactor-option
l-streams
npm http GET https://github.com/indexzero/read/tarball/refactor-optional-stream
npm ERR! fetch failed https://github.com/indexzero/read/tarball/refactor-option
l-streams
npm ERR! Error: connect ETIMEDOUT
npm ERR! at errnoException (net.js:782:11)
npm ERR! at Object.afterConnect [as oncomplete] (net.js:773:19)
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <npm-#googlegroups.com>
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program Fil
s (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "forever"
npm ERR! cwd C:\Users\TJIA\Desktop\Sommarjobb\Extrauppgifter\demo
npm ERR! node -v v0.8.5
npm ERR! npm -v 1.1.46
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\TJIA\Desktop\Sommarjobb\Extrauppgifter\demo\npm-debug.log
npm ERR! not ok code 0
What could be the problem.
Thanks,in advance
This means Github wasn't responding to the http request in time that was specified by npm.

Resources