cloudhead / http-console

simple, intuitive HTTP REPL — Speak HTTP like a local.
Apache License 2.0
1.35k stars 65 forks source link

TypeError: Object true has no method 'write' (http-console@0.5.1) #23

Closed autre closed 8 years ago

autre commented 13 years ago

Hi,

~$ uname -a Darwin kunstderfuge.local 10.6.0 Darwin Kernel Version 10.6.0: Wed Nov 10 18:13:17 PST 2010; root:xnu-1504.9.26~3/RELEASE_I386 i386 i386 Macmini3,1 Darwin ~$ brew --version 0.8 ~$ node --version v0.4.2 ~$ npm --version 0.3.15 ~$ npm ls installed coffee-script@1.0.1 [...] eyes@0.1.6 [...] http-console@0.5.1 [...] npm@0.3.15 [...] npm ok ~$ http-console 127.0.0.1:8080

http-console 0.5.1 Welcome, enter \help if you're lost. Connecting to 127.0.0.1 on port 8080.

TypeError: Object true has no method 'write' at Interface.prompt (readline.js:103:17) at [object Object].prompt (/usr/local/lib/node/.npm/http-console/0.5.1/package/lib/http-console.js:247:23) at [object Object].initialize (/usr/local/lib/node/.npm/http-console/0.5.1/package/lib/http-console.js:71:14) at Object. (/usr/local/lib/node/.npm/http-console/0.5.1/package/bin/http-console:89:9) at Module._compile (module.js:383:26) at Object..js (module.js:389:10) at Module.load (module.js:315:31) at Function._load (module.js:276:12) at Array. (module.js:402:10) at EventEmitter._tickCallback (node.js:108:26)

\help \headers show active request headers. \options show options. \cookies show client cookies. \json set 'Content-Type' header to 'application/json'. \help display this message. \exit exit console. \q

TypeError: Object true has no method 'write' at Interface.prompt (readline.js:103:17) at [object Object].prompt (/usr/local/lib/node/.npm/http-console/0.5.1/package/lib/http-console.js:247:23) at [object Object].exec (/usr/local/lib/node/.npm/http-console/0.5.1/package/lib/http-console.js:201:14) at Interface. (/usr/local/lib/node/.npm/http-console/0.5.1/package/lib/http-console.js:60:18) at Interface.emit (events.js:42:17) at Interface._onLine (readline.js:132:10) at Interface._normalWrite (readline.js:206:10) at ReadStream. (readline.js:45:12) at ReadStream.emit (events.js:59:20) at ReadStream._onReadable (net.js:649:14)

Thanks