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

Object # has no method 'setTimeout' #194

Closed
richmarr opened this Issue Feb 27, 2012 · 1 comment

Comments

Projects
None yet
2 participants

Request 2.9.152 is now being pulled in by one of my dependencies, but this new version is failing. Earlier versions of 2.9.x worked fine. I'm on Node 0.4.7.

TypeError: Object # has no method 'setTimeout'
    at Request.start (/app/node_modules/elastical/node_modules/request/main.js:475:14)
    at EventEmitter._tickCallback (node.js:126:26)
    at Request.write (/app/node_modules/elastical/node_modules/request/main.js:687:28)
    at Array. (/app/node_modules/elastical/node_modules/request/main.js:308:14)

Any ideas?

@mikeal mikeal closed this in 5815a69 Feb 27, 2012

Owner

mikeal commented Feb 27, 2012

there is no safe/reliable way to setTimeout on http requests in node 0.4. This is an issue I actually fixed in node 0.6 so we'll have to just disable this guard on 0.4.

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