isaacs/npm — Issue #2100: npm install always fails / http example client inconclusive
Author: tjbarbour
Created: 2012-01-29 06:40:12+00:00
State: open

I opened this issue https://github.com/isaacs/npm/issues/2039 when having issues with npm and later tried the http example client with somewhat inconclusive results. (repeated here). I'm not sure where to go from here, so I'm opening a new issue in hopes of any help you can provide.

````
C:\Program Files (x86)\nodejs>node C:\Users\tj\Desktop\http-example-client.js
response: 302
{ location: 'http://www.iana.org/domains/example/',
server: 'BigIP',
connection: 'Keep-Alive',
'content-length': '0' }

node.js:284
throw new Error('process.stdout cannot be closed');
^
Error: process.stdout cannot be closed
at WriteStream. (node.js:284:15)
at IncomingMessage. (util.js:478:17)
at IncomingMessage.emit (events.js:88:20)
at HTTPParser.onMessageComplete (http.js:137:23)
at Socket.ondata (http.js:1137:24)
at TCP.onread (net.js:354:27)
````

Thanx, T.J.