mranney/node_redis — Issue #159: Unknown command 'sadd'
Author: grumdrig
Created: 2011-12-15 17:23:44+00:00
State: open

Getting "ERR unknown command 'sadd'" and also test.js fails with 'unknown command 'multi'". Various other commands work.

$ node --version
v0.6.5
$ node -e 'require("redis").createClient().sadd("set","elmt")'
node_redis: no callback to send error: ERR unknown command 'sadd'

node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: ERR unknown command 'sadd'
at RedisReplyParser. (/private/tmp/node_modules/redis/index.js:256:27)
at RedisReplyParser.emit (events.js:67:17)
at RedisReplyParser.send_error (/private/tmp/node_modules/redis/lib/parser/javascript.js:266:14)
at RedisReplyParser.execute (/private/tmp/node_modules/redis/lib/parser/javascript.js:125:22)
at RedisClient.on_data (/private/tmp/node_modules/redis/index.js:422:27)
at Socket. (/private/tmp/node_modules/redis/index.js:66:14)
at Socket.emit (events.js:67:17)
at TCP.onread (net.js:329:14)