a reminder to myself
[DEBUG]: Moonlink.js > Node (MAIN) has disconnected with code 1006 and reason .
C:\Users\1luca\Desktop\moonlink.js\dist\src\entities\Node.js:578
const destination = targetNode this.manager.nodes.sortByUsage(this.manager.options.sortTypeNode "players")[0];
^
TypeError: Cannot read properties of undefined (reading '0')
at Node.migrateAllPlayers (C:\Users\1luca\Desktop\moonlink.js\dist\src\entities\Node.js:578:121)
at Node.close (C:\Users\1luca\Desktop\moonlink.js\dist\src\entities\Node.js:149:22)
at Object.onceWrapper (node:events:622:26)
at WebSocket.emit (node:events:507:28)
at ClientRequest.<anonymous> (C:\Users\1luca\Desktop\moonlink.js\dist\src\services\WebSocket.js:62:22)
at ClientRequest.emit (node:events:507:28)
at emitErrorEvent (node:_http_client:104:11)
at Socket.socketErrorListener (node:_http_client:518:5)
at Socket.emit (node:events:507:28)
at emitErrorNT (node:internal/streams/destroy:170:8)
Node.js v24.4.1
PS C:\Users\1luca\Desktop\moonlink.js>
0 Replies