socketio / socket.io-sticky

A simple and performant way to use Socket.IO within a cluster.
https://socket.io
MIT License
43 stars 13 forks source link

Worker Error #12

Closed szgnyldrm closed 4 months ago

szgnyldrm commented 6 months ago

node_modules/@socket.io/sticky/index.js:93 cluster.workers[workerId].send( ^

TypeError: Cannot read properties of undefined (reading 'send') at Socket. (/Users//Documents/GitHub//node_modules/@socket.io/sticky/index.js:93:35) at Socket.emit (node:events:531:35) at addChunk (node:internal/streams/readable:559:12) at readableAddChunkPushByteMode (node:internal/streams/readable:510:3) at Readable.push (node:internal/streams/readable:390:5) at TCP.onStreamRead (node:internal/stream_base_commons:190:23)

Node.js v21.6.2