this line throws an error request("http://localhost:8080").then(function(response) {
the error thrown is:
/home/paul/eg/api/node_modules/q/q.js:1319
throw error;
^
TypeError: Cannot read property 'host' of undefined
at exports.CookieJar (/home/paul/eg/api/node_modules/q-io/http-apps.js:1267:55)
at /home/paul/eg/api/src/joey-app.js:42:2
From previous event:
at Object.<anonymous> (/home/paul/eg/api/src/joey-app.js:36:17)
i edited the readme code to look like the below
this line throws an error
request("http://localhost:8080").then(function(response) {
the error thrown is: