Skip to content

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

@ktkaushik

Description

@ktkaushik
  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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions