isaacs/npm — Issue #1893: SSL Error: undefined when trying to install
Author: lutzbickhardt
Created: 2011-12-16 20:09:33+00:00
State: open

this seems to have been resolved before, still I get it! (no matter what package I try to install!)
H/W is guruplug armv5.
Reading the source, I do not see why the error var should be undefined at all, if there is no runtime error before.

guruplug-debian:~# npm install node-static
npm ERR! Error: SSL Error: undefined
npm ERR! at ClientRequest. (/usr/local/lib/node_modules/npm/node_modules/request/main.js:252:28)
npm ERR! at ClientRequest.g (events.js:143:14)
npm ERR! at ClientRequest.emit (events.js:64:17)
npm ERR! at HTTPParser.onIncoming (http.js:1357:9)
npm ERR! at HTTPParser.onHeadersComplete (http.js:108:31)
npm ERR! at CleartextStream.ondata (http.js:1231:22)
npm ERR! at CleartextStream._push (tls.js:303:27)
npm ERR! at SecurePair.cycle (tls.js:577:20)
npm ERR! at EncryptedStream.write (tls.js:96:13)
npm ERR! at Socket.ondata (stream.js:36:26)
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.33.2-00003-g4b82fc0
npm ERR! command "node" "/usr/local/bin/npm" "install" "node-static"
npm ERR! cwd /root
npm ERR! node -v v0.4.12
npm ERR! npm -v 1.0.106
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /root/npm-debug.log
npm not ok