Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Compatibility with node 0.8? #89

Open
jeromegv opened this Issue · 0 comments

1 participant

@jeromegv

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

/Users/gagnonje/Dropbox/threatwiki_node/node_modules/tobi/lib/cookie/index.js:46
: 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
Open

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
Something went wrong with that request. Please try again.