$ node test.js
events.js:72
throw er; // Unhandled 'error' event
^
Error: read ENOTCONN
at errnoException (net.js:901:11)
at Socket._read (net.js:391:21)
at Socket.Readable.read (_stream_readable.js:320:10)
at Socket.read (net.js:293:43)
at new Socket (net.js:185:10)
at process.stdin (node.js:660:19)
at new ProgressBar (C:\cygwin64\home\Thomas Anderson\hyperloop\node_modules\progress\lib\node-progress.js:42:19)
at ClientRequest.<anonymous> (C:\cygwin64\home\Thomas Anderson\hyperloop\test.js:14:13)
at ClientRequest.EventEmitter.emit (events.js:95:17)
at HTTPParser.parserOnIncomingClient [as onIncoming] (http.js:1669:21)
seems to be related to setting up process.stdin in readline.
(using cygwin)
seems to be related to setting up process.stdin in readline.
works fine under normal windows console.