weyoss / redis-smq

A simple high-performance Redis message queue for Node.js.
MIT License
588 stars 64 forks source link

ReplyError: ERR wrong number of arguments for 'set' command #13

Closed osaka911 closed 6 years ago

osaka911 commented 6 years ago

Hello everybody, i had a problem when i run monitor service.

PS D:\server\chat-server> node .\monitor-queue.js Monitor server is running... D:\server\chat-server\node_modules\redis-smq\src\stats-frontend.js:204 if (err) throw err; ^ ReplyError: ERR wrong number of arguments for 'set' command at parseError (D:\server\chat-server\node_modules\redis-parser\lib\parser.js:193:12) at parseType (D:\server\chat-server\node_modules\redis-parser\lib\parser.js:303:14)

I am using node version v7.10.1. Please help me! Thank

osaka911 commented 6 years ago

i changed from throw to return. It work fine. But i think need fix it.

weyoss commented 6 years ago

It seems you have an old Redis version. Please upgrade Redis to the latest version. Minimal required Redis version is 2.6.12. For more info see https://redis.io/commands/set. Good luck!

weyoss commented 6 years ago

Closing as resolved.