当我尝试启动Juggernaut时,我收到此错误:
1 Apr 20:21:01 - socket.io ready - accepting connections
node_redis: no callback to send error: ERR unknown command 'subscribe'
node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: ERR unknown command 'subscribe'
at RedisReplyParser.<anonymous> (/usr/local/lib/node/.npm/redis/0.5.9/packag
e/index.js:84:27)
at RedisReplyParser.emit (events.js:64:17)
at RedisReplyParser.send_error (/usr/local/lib/node/.npm/redis/0.5.9/package
/lib/parser/javascript.js:251:14)
at RedisReplyParser.execute (/usr/local/lib/node/.npm/redis/0.5.9/package/li
b/parser/javascript.js:110:22)
at RedisClient.on_data (/usr/local/lib/node/.npm/redis/0.5.9/package/index.j
s:328:27)
at Socket.<anonymous> (/usr/local/lib/node/.npm/redis/0.5.9/package/index.js
:99:14)
at Socket.emit (events.js:64:17)
at Socket._onReadable (net.js:672:14)
at IOWatcher.onReadable [as callback] (net.js:177:10)
我找不到任何可以帮助我的东西!
答案 0 :(得分:0)
尝试升级Redis。
它发生在我身上,这就是解决它的原因。我正在使用Ubuntu,包管理器中的那个不是更新版本。它必须至少是版本2.2.1。
来源:From one of the issues posted on the juggernaut github repo.
编辑:经过仔细检查,看起来您就是那个在github repo上发布问题的人。我会在这里留下这个答案,以防其他人遇到同样的问题。