isaacs/npm — Issue #2214: Formidable
Author: eyesea69
Created: 2012-02-29 16:29:05+00:00
State: open

Installed npm successfully and then tried running:

npm install formidable

returned these errors:

npm ERR! Error connecting to server http://registry.npmjs.org/formidable
npm ERR! Error: socket hang up
npm ERR! at Client. (http.js:1545:26)
npm ERR! at Client.emit (events.js:64:17)
npm ERR! at Array.0 (net.js:831:12)
npm ERR! at EventEmitter._tickCallback (node.js:126:26)
npm ERR! Report this *entire* log at
npm ERR! or email it to npm ERR! Just tweeting a tiny part of the error will not be helpful.
npm not ok

Tried the command again and got a different error:

eyesea@ubuntu:/$ npm install formidable
npm ERR! Error: ucs {bad_utf8_character_code}: formidable
npm ERR! at IncomingMessage. (/usr/share/npm/lib/utils/registry/request.js:153:16)
npm ERR! at IncomingMessage.emit (events.js:81:20)
npm ERR! at HTTPParser.onMessageComplete (http.js:133:23)
npm ERR! at Client.onData [as ondata] (http.js:1485:27)
npm ERR! at Client._onReadable (net.js:683:27)
npm ERR! at IOWatcher.onReadable [as callback] (net.js:177:10)
npm ERR! Report this *entire* log at
npm ERR! or email it to
npm ERR! Just tweeting a tiny part of the error will not be helpful.
npm not ok