Processing
 

“npm install <module>” doesn't work

15/09/2016 22:04#1

criz

Member

Joined at: 5 months ago

Post: 1

Thank: 0

Thanked: 0

I have a problem with npm. When I try to install any module (for example Express) I see the pipe rotating for some minute, then I get the following error message:

npm ERR! Windows_NT 6.1.7601 npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\seven\\AppData\\Roami ng\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install" "express" npm ERR! node v4.5.0 npm ERR! npm  v3.7.5 npm ERR! code ECONNREFUSED npm ERR! errno ECONNREFUSED npm ERR! syscall connect  npm ERR! Error: connect ECONNREFUSED 127.0.0.1:15443 npm ERR!     at Object.exports._errnoException (util.js:907:11) npm ERR!     at exports._exceptionWithHostPort (util.js:930:20) npm ERR!     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1077:14) npm ERR!  { [Error: connect ECONNREFUSED 127.0.0.1:15443] npm ERR!   code: 'ECONNREFUSED', npm ERR!   errno: 'ECONNREFUSED', npm ERR!   syscall: 'connect', npm ERR!   address: '127.0.0.1', npm ERR!   port: 15443 } 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\seven\Desktop\npm\npm-debug.log 

Here there's the content of npm-debug.log.

If I download a module globally, for example:

npm install -g express 

I don't receive any error and it works properly.

I googled for similar errors and opened several topics on SO, but I didn't find anything that can apply to me. In a lot of topics, users solved the problem setting the proxy to Node, but it's not my case, I don't use any proxy.

I also tried to uninstall and re-install node and python, but nothing changed.

Can anyone tell me why is this happening?

Thank you

Similar articles

How to use Logstash with log4j in Windows 7 32-bit VM

5 months ago - Reply: 1 - Views: 136

Running webrick server in background for Windows

5 months ago - Reply: 0 - Views: 60

Task Scheduler doesn't start my exe for the next day

5 months ago - Reply: 0 - Views: 47

Unable to get Windows Updates in Windows 7 [on hold]

5 months ago - Reply: 0 - Views: 27

Connect Spark-Shell using Eclipse in Windows 7

5 months ago - Reply: 0 - Views: 28

Can't use custom windows themes

5 months ago - Reply: 1 - Views: 117

“npm install <module>” doesn't work

5 months ago - Reply: 0 - Views: 41

OpenGL 4.5 functions segfaulting

5 months ago - Reply: 0 - Views: 6

Executing a batch file during installation

5 months ago - Reply: 0 - Views: 3

vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re