Up until this point all the code has worked perfectly but when I fire up the cluster program, the workers come online fine but when I run the zmq-filer-req-loop I get no response. In the responder terminal window I get the following error
Worker 9749 is online.
Worker 9748 is online.
Worker 9750 is online.
9749 received request for: target.txt
9749 sending response
TypeError: Array.prototype.slice called on null or undefined
at Socket.i (/Study/node/the right way/messaging/zmq-filer-rep-cluster.js:17:44)
at Socket.EventEmitter.emit (events.js:106:17)
at /Study/node/the right way/messaging/node_modules/zmq/lib/index.js:351:25
at process._tickCallback (node.js:415:13)
at process._tickFromSpinner (node.js:390:15)
I have double checked and triple checked the code and it seems fine. Any ideas?