使用redis和节点给出错误

而运行此https://github.com/fictorial/redis-node-client/blob/master/test/test.js#L1093-1097给我错误:

/redis-node-client/test$ node test.js ........................................ node.js:178 throw e; // process.nextTick error, or 'error' event on first tick ^ undefined 

为什么这个错误来了?

redis-node-client被作者弃用和放弃。

我会build议使用node_redis: https : //github.com/mranney/node_redis

真正的原因可能是由于在2010年6月14日(近一整年)以来没有更新插件的情况下node.js(本文写作版本v.4.8)的一些变化。