Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kue broken with redis update #857

Closed
aldgagnon opened this issue Apr 7, 2016 · 2 comments
Closed

Kue broken with redis update #857

aldgagnon opened this issue Apr 7, 2016 · 2 comments

Comments

@aldgagnon
Copy link

Kue is throwing the following error when attempting to save jobs.

Error: ERR wrong number of arguments for 'hset' command at JavascriptReplyParser.parseResult (/home/nodeuser/node_modules/redis/node_modules/redis-parser/lib/javascript.js:90:16)

Appears there were some deprecations in node-redis starting in version 2.5.0. You can view the changelog. Is it possible to change Kue to use v2.4.2 until the issue is resolved?

As a work around, I have been explicitly setting redis in my package.json to v2.4.2.

@behrad
Copy link
Collaborator

behrad commented Apr 7, 2016

Kue is currently using 2.4.x version of node_redis!

@aldgagnon
Copy link
Author

From the package.json, it appears Kue is using

"redis": "^2.4.2"

If I'm not mistaken, the caret will allow the newer minor or patch level versions, which leads to the issue I'm having.

@behrad behrad closed this as completed in ca584d6 May 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants