Listening on 8081
/root/phaserquest/js/server/GameServer.js:686
GameServer.dirtyAOIs.forEach(function(aoi){
^
TypeError: Cannot read property 'forEach' of undefined
at Object.GameServer.clearAOIs (/root/phaserquest/js/server/GameServer.js:686:26)
at Timeout.GameServer.updatePlayers [as _onTimeout] (/root/phaserquest/js/server/GameServer.js:679:16)
at ontimeout (timers.js:436:11)
at tryOnTimeout (timers.js:300:5)
at listOnTimeout (timers.js:263:5)
at Timer.processTimers (timers.js:223:10)
This error should normally never happen, can you provide information to reproduce it? In what context did you run the game? Are there other errors in the log before that one?
Listening on 8081 /root/phaserquest/js/server/GameServer.js:686 GameServer.dirtyAOIs.forEach(function(aoi){ ^
TypeError: Cannot read property 'forEach' of undefined at Object.GameServer.clearAOIs (/root/phaserquest/js/server/GameServer.js:686:26) at Timeout.GameServer.updatePlayers [as _onTimeout] (/root/phaserquest/js/server/GameServer.js:679:16) at ontimeout (timers.js:436:11) at tryOnTimeout (timers.js:300:5) at listOnTimeout (timers.js:263:5) at Timer.processTimers (timers.js:223:10)
How to fix that?