启动主宰时出错

发布于 2024-10-28 18:10:56 字数 1051 浏览 4 评论 0原文

当我尝试启动 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)

我没有找到任何可以帮助我的东西!

When I try to start Juggernaut I get this error :

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)

I didnt find anything to help me!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

有木有妳兜一样 2024-11-04 18:10:56

尝试升级 Redis

这发生在我身上,这就是解决问题的方法。我使用的是 Ubuntu,包管理器中的版本不是更新版本。它至少需要是 2.2.1 版本。

资料来源:来自 juggernaut github 存储库上发布的问题之一。

编辑: 经过仔细检查,看起来您就是在 github 存储库上发布该问题的人。我将把这个答案留在这里,以防其他人遇到同样的问题。

Try upgrading Redis.

It happened to me, and that's what solved it. I'm using Ubuntu, and the one in the package manager isn't an updated version. It needs to be at least version 2.2.1.

Source: From one of the issues posted on the juggernaut github repo.

EDIT: Upon closer inspection, it looks like you were the one who posted the issue on the github repo. I'll just leave this answer here just in case anyone else has the same problem.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文