socket.io icon indicating copy to clipboard operation
socket.io copied to clipboard

Socket.io Redis Error

Open jonchu opened this issue 13 years ago • 1 comments

events.js:66 throw arguments[1]; // Unhandled 'error' event ^ TypeError: First argument must be a Buffer at RedisClient.message (/Users/jchu/code/python/agles/ci/web/back/node_modules/socket.io/lib/stores/redis.js:126:24) at RedisClient.EventEmitter.emit (events.js:115:20) at RedisClient.return_reply (/Users/jchu/code/python/agles/ci/web/back/node_modules/socket.io/node_modules/redis/index.js:440:22) at RedisReplyParser. (/Users/jchu/code/python/agles/ci/web/back/node_modules/socket.io/node_modules/redis/index.js:81:14) at RedisReplyParser.EventEmitter.emit (events.js:88:17) at RedisReplyParser.add_multi_bulk_reply (/Users/jchu/code/python/agles/ci/web/back/node_modules/socket.io/node_modules/redis/lib/parser/javascript.js:311:14) at RedisReplyParser.send_reply (/Users/jchu/code/python/agles/ci/web/back/node_modules/socket.io/node_modules/redis/lib/parser/javascript.js:272:18) at RedisReplyParser.execute (/Users/jchu/code/python/agles/ci/web/back/node_modules/socket.io/node_modules/redis/lib/parser/javascript.js:222:22) at RedisClient.on_data (/Users/jchu/code/python/agles/ci/web/back/node_modules/socket.io/node_modules/redis/index.js:358:27) at Socket. (/Users/jchu/code/python/agles/ci/web/back/node_modules/socket.io/node_modules/redis/index.js:93:14)

I can't get socket.io to work after running npm install. Keeps throwing this error.

jonchu avatar Dec 21 '12 02:12 jonchu

replacing the redis version that socket.io depends on with 0.8.2 seems to fix this.

jonchu avatar Dec 21 '12 02:12 jonchu