Compatibility with node 0.8? #89

jeromegv opened this Issue Oct 12, 2012 · 0 comments

1 participant


Since I upgraded to node 0.8, I get this error when trying to run my tests

macbook-pro-de-jerome-gagnon-voyer-2:api gagnonje$ node api_tests.js

: url.parse(req.url).pathname;
TypeError: Cannot read property 'url' of undefined
at new Cookie (/Users/gagnonje/Dropbox/threatwiki_node/node_modules/tobi/lib/cookie/index.js:46:20)
at Browser.request.req.on.location (/Users/gagnonje/Dropbox/threatwiki_node/node_modules/tobi/lib/browser.js:229:28)
at Array.forEach (native)
at ClientRequest.Browser.request (/Users/gagnonje/Dropbox/threatwiki_node/node_modules/tobi/lib/browser.js:228:33)
at ClientRequest.EventEmitter.emit (events.js:88:17)
at ClientRequest.vows.describe.options.Emitter.emit (/Users/gagnonje/Dropbox/threatwiki_node/node_modules/vows/lib/vows.js:237:24)
at HTTPParser.parserOnIncomingClient as onIncoming
at HTTPParser.parserOnHeadersComplete as onHeadersComplete
at Socket.socketOnData as ondata
at TCP.onread (net.js:402:27)

Any idea what might create this problem?

Thank you

@jeromegv jeromegv referenced this issue in thesentinelproject/threatwiki_node Oct 12, 2012

Tests are all broken, tobi issue with node 0.8 #58

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment