Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Timeout error missing method #196

markwillis82 opened this Issue Mar 1, 2012 · 1 comment


None yet
2 participants

on request version: 2.9.152

running the test: test-timeout.js I receive the error:

node test-timeout.js 

        throw e; // process.nextTick error, or 'error' event on first tick
TypeError: Object #<ClientRequest> has no method 'setTimeout'
    at Request.start (/home/mark/.workspace/loadTester/node_modules/request/main.js:475:14)
    at Request.end (/home/mark/.workspace/loadTester/node_modules/request/main.js:693:28)
    at Array.<anonymous> (/home/mark/.workspace/loadTester/node_modules/request/main.js:316:12)
    at EventEmitter._tickCallback (node.js:126:26)

I can fix this by commenting out lines 475-482 - inside main.js but am unsure what this code does.


mikeal commented Jul 25, 2012

ahh, this requires 0.6+

@mikeal mikeal closed this Jul 25, 2012

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