isaacs/npm — Issue #1703: npm install less fails
Author: 510crew
Created: 2011-11-12 15:58:21+00:00
State: open

Hello,
Here's my output when I try installing less :

info it worked if it ends with ok
verbose cli [ 'node', '/root/local/node/bin/npm', 'install', 'less' ]
info using npm@1.0.105
info using node@v0.5.8
verbose config file /root/.npmrc
verbose config file /root/local/node/etc/npmrc
verbose config file /root/local/node/lib/node_modules/npm/npmrc
verbose into /root [ 'less' ]
verbose cache add less
verbose cache add [ 'less', null ]
silly cache add: name, spec, args [ undefined, 'less', [ 'less', null ] ]
verbose parsed url { pathname: 'less', href: 'less' }
info addNamed [ 'less', '' ]
verbose addNamed [ null, '' ]
verbose GET less
verbose raw, before any munging less
verbose url resolving [ 'https://registry.npmjs.org/', './less' ]
verbose url resolved https://registry.npmjs.org/less
verbose etag "33S2AYIW69IV27USZYOEOL0XH"
ERR! Error: socket hang up
ERR! at CleartextStream. (http2.js:1149:21)
ERR! at CleartextStream.emit (events.js:88:20)
ERR! at Array.0 (tls.js:683:22)
ERR! at EventEmitter._tickCallback (node.js:199:26)
ERR! Report this *entire* log at:
ERR!
ERR! or email it to:
ERR!
ERR!
ERR! System Linux 2.6.18-274.7.1.el5
ERR! command "node" "/root/local/node/bin/npm" "install" "less"
ERR! cwd /root
ERR! node -v v0.5.8
ERR! npm -v 1.0.105
ERR! code ECONNRESET
verbose exit [ 1, true ]

Any idea where it comes from ?

Regards,

Xavier