RangeError: Invalid typed array length: Infinity
at new Uint32Array ()
at new BitArray (C:\Users\Max\OneDrive\Desktop\MC bot\node_modules\prismarine-chunk\src\pc\common\BitArrayNoSpan.js:16:17)
at new DirectPaletteContainer (C:\Users\Max\OneDrive\Desktop\MC bot\node_modules\prismarine-chunk\src\pc\common\PaletteContainer.js:8:17)
at Function.read (C:\Users\Max\OneDrive\Desktop\MC bot\node_modules\prismarine-chunk\src\pc\common\PaletteBiome.js:73:15)
at ChunkColumn.load (C:\Users\Max\OneDrive\Desktop\MC bot\node_modules\prismarine-chunk\src\pc\1.18\ChunkColumn.js:247:39)
at addColumn (C:\Users\Max\OneDrive\Desktop\MC bot\node_modules\mineflayer\lib\plugins\blocks.js:57:14)
at Client. (C:\Users\Max\OneDrive\Desktop\MC bot\node_modules\mineflayer\lib\plugins\blocks.js:272:5)
at Client.emit (node:events:390:28)
at FullPacketParser. (C:\Users\Max\OneDrive\Desktop\MC bot\node_modules\minecraft-protocol\src\client.js:91:12)
at FullPacketParser.emit (node:events:390:28)
I'm trying to simply just join mc.hypixel.net.
const mineflayer = require('mineflayer');
const bot = mineflayer.createBot({ host: 'mc.hypixel.net', port: 25565, username: 'eeoms', password: '########', auth: 'microsoft' })
bot.on("login", async => { console.log("Ingame Bot Online") })