You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using latest from git, after starting publisher, then starting subscriber, I get this:
$ node subscriber.js
waiting for messages...
TypeError: Cannot read property 'length' of undefined
at Client.onReply_ (/web/node/node/redis/redis-node-client/lib/redis-client.js:395:51)
at /web/node/node/redis/redis-node-client/lib/redis-client.js:150:34
at ReplyParser.feed (/web/node/node/redis/redis-node-client/lib/redis-client.js:212:25)
at Stream. (/web/node/node/redis/redis-node-client/lib/redis-client.js:346:28)
at Stream.emit (events:25:26)
at IOWatcher.callback (net:365:18)
at node.js:176:9
The text was updated successfully, but these errors were encountered:
Ah, OK. The latest Redis sends pmessage instead of message when a message is published to a channel that the client subscribed to using a pattern. This wasn't the case with 1.3.8. It is on my list to add support for this however. In the interim, downgrade to Redis 1.3.8 or take a stab at patching Client.prototype.handlePublishedMessage_ if you are at all interested. I will otherwise patch this by say Tuesday.
Using latest from git, after starting publisher, then starting subscriber, I get this:
$ node subscriber.js
waiting for messages...
TypeError: Cannot read property 'length' of undefined
at Client.onReply_ (/web/node/node/redis/redis-node-client/lib/redis-client.js:395:51)
at /web/node/node/redis/redis-node-client/lib/redis-client.js:150:34
at ReplyParser.feed (/web/node/node/redis/redis-node-client/lib/redis-client.js:212:25)
at Stream. (/web/node/node/redis/redis-node-client/lib/redis-client.js:346:28)
at Stream.emit (events:25:26)
at IOWatcher.callback (net:365:18)
at node.js:176:9
The text was updated successfully, but these errors were encountered: