Nexus
PEM Base64 Error while using mineflayer NPM Package
Hello.
I am interested in using Deno to build a Minecraft player bot. I used the minelayer package and the Deno runtime. I wrote simple code that should log in to the player using Microsoft authentication.
I am using Deno version 2.0.3, which is running on aarch64 Linux.
I am also running mineflayer version 4.23.0.
I am currently attempting to run this code:
I put placeholders for privacy sake, however I don't believe that should matter too much.
After authenticating with a Microsoft account. I get this strange error:
This code works as intended using the latest version of node js, which is 23.0.0-1.
Steps to reproduce:
1. Install mineflayer package.
deno add npm:mineflayer
2. Write above code.
3. Run script and authenticate. deno run main.ts
4. Observe error.3 replies