Skip to content

Error: ERR wrong number of arguments for 'sadd' command #709

@switz

Description

@switz

I can't get any sadd commands working on my server. They all work fine locally on my Macbook, but none work on my ubuntu server running node v0.11.14 and dokku-alt-redis.

This is run directly in the node REPL.

redis.sadd("test2", 1, 2, 3, console.log)
true
[Error: ERR wrong number of arguments for 'sadd' command]

redis.sadd("test2", [1,2,3], console.log)
true
[Error: ERR wrong number of arguments for 'sadd' command]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions