Open GoogleCodeExporter opened 9 years ago
Adding another case:
timers.js:103
if (!process.listeners('uncaughtException').length) throw e;
^
TypeError: Cannot call method 'onClose' of null
at Object._onTimeout (/home/emfb/Desktop/ga-bitbot/ga-bitbot/tools/nimbs/node_modules/socket.io-client/lib/socket.js:281:22)
at Timer.list.ontimeout (timers.js:101:19)
Original comment by brian.mo...@gmail.com
on 7 Mar 2013 at 4:27
Posted by JoeMattie on the forums :
Go to ga-bitbot/tools/nimbs/node_modules/socket.io/lib
open manager.js and replace this line:
this.oldListeners = server.listeners('request').splice(0);
with these two lines:
this.oldListeners = server.listeners('request').slice(0);
server.removeAllListeners('request');
This solution worked for me.
Original comment by hikkak...@gmail.com
on 1 Apr 2013 at 2:01
Original issue reported on code.google.com by
brian.mo...@gmail.com
on 14 Feb 2013 at 1:16