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

ERR wrong number of arguments for 'get' command #59

Open
ktkaushik opened this issue Mar 5, 2020 · 0 comments
Open

ERR wrong number of arguments for 'get' command #59

ktkaushik opened this issue Mar 5, 2020 · 0 comments

Comments

@ktkaushik
Copy link

  1. NodeJS - v12.10.0
  2. Node-redis - v2.8.0
  3. Redis-parser - v2.6.0

For the last couple of days, I have been getting this error. Sorry but I've got no other stacktrace. Unable to understand of why this is happening.

**Code - **

redisClient.get(this.key, function (err, res) {
    if (err) throw err;
    if (res) {}
}

Error -

ReplyError: ERR wrong number of arguments for 'get' command
        at parseError (/Users/Kaushik/dev/spiked.sh/escalations/node_modules/redis-parser/lib/parser.js:193:12)
        at parseType (/Users/Kaushik/dev/spiked.sh/escalations/node_modules/redis-parser/lib/parser.js:303:14)

What could be causing this?

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

1 participant