isaacs/npm — Issue #1887: Error when trying to install node-static
Author: VinothiniBalakrishnan
Created: 2011-12-15 07:53:02+00:00
State: open

I am getting the folowing error when trying to install node-static:

spritle@ubuntu:~/npm$ sudo npm install http://github.com/cloudhead/node-static/tarball/master
npm WARN npm@0.2.19 package.json: bugs['web'] should probably be bugs['url']
npm ERR! Error: Cannot resume() closed Socket.
npm ERR! at Socket.resume (net_legacy.js:795:11)
npm ERR! at IncomingMessage.resume (http2.js:255:15)
npm ERR! at Request.resume (/usr/local/lib/node_modules/npm/node_modules/request/main.js:450:24)
npm ERR! at [object Object].ondrain (stream.js:43:33)
npm ERR! at [object Object].emit (events.js:64:17)
npm ERR! at [object Object].flush (fs.js:1135:32)
npm ERR! at fs.js:1180:10
npm ERR! at wrapper (fs.js:296:17)
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.32-21-generic
npm ERR! command "node" "/usr/local/bin/npm" "install" "http://github.com/cloudhead/node-static/tarball/master"
npm ERR! cwd /home/spritle/npm
npm ERR! node -v v0.5.5-pre
npm ERR! npm -v 1.0.106
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/spritle/npm/npm-debug.log
npm not ok