cloudhead / http-console

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

where is readline ? #6

Closed badboy closed 14 years ago

badboy commented 14 years ago

http-console fails with: module:238 throw new Error("Cannot find module '" + request + "'"); 0 ^ Error: Cannot find module 'readline' at loadModule (module:238:15) at require (module:364:12) at Object. (/home/badboy/code/http-console/lib/http-console.js:6:16) at Module._compile (module:384:23) at Module._loadScriptSync (module:393:16) at Module.loadSync (module:296:10) at loadModule (module:241:16) at require (module:364:12) at Object. (/home/badboy/code/http-console/bin/http-console:8:19) at Module._compile (module:384:23)

where do I get readline?

cloudhead commented 14 years ago

readline.js is part of node edge—so you can either install node from github, or get the packaged version of http-console, which is a bit older, and doesn't use readline, through npm.

badboy commented 14 years ago

Ah ok. Need to compile the git version of node then. Thanks.