Closed strawhatgami closed 9 years ago
you should use 0.11.x for the debuglog api.
发自我的 iPhone
在 2014年10月19日,下午9:22,strawhatgami notifications@github.com 写道:
Hello, When using those lines at the start of my route:
var https = require('https'); var HttpsAgent = require('agentkeepalive').HttpsAgent;
I get:
/home/vagrant/node_modules/agentkeepalive/lib/agent.js:22 var debug = util.debuglog('http'); ^ TypeError: Object #
JacksonTian: this debuglog: https://www.npmjs.org/package/debuglog ?
@strawhatgami
maybe you need agentkeepalive@0.2.3
,
agentkeepalive 1.x.x
only support node 0.11+
@coderhaoxin: that was it: I have an old version of Node (0.10). I'm a bit ashamed cause it's indicated on the README... sorry.
Hello, When using those lines at the start of my route:
I get: