Closed rahulguha closed 9 years ago
Apparantly that's a new method in node > v0.11 so simply upgrading your node version fixes the issue (it worked for me when I upgraded), more info can be found over here: https://github.com/node-modules/agentkeepalive/issues/12
Also on the "agent keep alive" repo; take note of what they say about the node versions in the first paragraph https://github.com/node-modules/agentkeepalive
Thanks Ryan - that solved my first problem. However 0.11 is an "unstable" version :(
Running into the same thing. This doesn't seem like the best reason to run unstable in production. Any workaround?
Actually its already been fixed in this PR: https://github.com/nathanaschbacher/nodiak/pull/24
The keepalive agent is set to the correct version so running npm install agian should fix your problem
Can you republish to npm? While your fix has been merged into the codebase, the version installed via npm still has the issue.
@chrispeltzer It should be on npm already here are my dependencies:
"dependencies": {
"bcrypt-nodejs": "0.0.3",
"body-parser": "~1.0.0",
"connect-flash": "^0.1.1",
"cookie-parser": "~1.0.1",
"debug": "~0.7.4",
"express": "~4.2.0",
"express-session": "^1.8.1",
"lodash": "^2.4.1",
"morgan": "~1.0.0",
"nodiak": "^0.4.3",
"nunjucks": "^1.0.7",
"passport": "^0.2.0",
"passport-local": "^1.0.0",
"static-favicon": "~1.0.0",
"vasync": "^1.6.2"
},
And I'm running node:
v0.10.33
All my tests pass no exceptions...
Note: I didn't create that PR, but I can confirm that it works and is on npm
var debug = util.debuglog('http'); ^ TypeError: Object #
Any idea ?