isaacs/npm — Issue #1881: Trying to install express
Author: dillera
Created: 2011-12-14 04:28:30+00:00
State: open

Hello:

Trying to install npm and then express to setup a graphite server. What a bloody mess this is (on Centos 5). Anyways:

[root@host tmp]# env HTTP_PROXY='http://proxy:3128' npm install express
npm ERR! Error: socket hang up
npm ERR! at createHangUpError (http.js:1091:15)
npm ERR! at CleartextStream. (http.js:1174:27)
npm ERR! at CleartextStream.emit (events.js:88:20)
npm ERR! at Array.0 (tls.js:737:22)
npm ERR! at EventEmitter._tickCallback (node.js:192:40)
npm ERR! Report this *entire* log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System Linux 2.6.18-238.9.1.el5
npm ERR! command "node" "/usr/local/bin/npm" "install" "express"
npm ERR! cwd /tmp
npm ERR! node -v v0.6.5
npm ERR! npm -v 1.0.106
npm ERR! code ECONNRESET
npm ERR!

So there you have it. I have to use a http proxy as you can see.