Help to Debug ECONNRESET when Running in a Deno Environment #3421
Labels
possible bug
Stage1
just created by someone new to the project, we don't know yet if it deserves an implementation / a f
Versions
Detailed Description of the Problem
I have been trying to run mineflayer in Deno for a while. When teaching others programming, the setup required in Deno is far less complex than setting up a Node.js environment. I fully understand that mineflayer does not officially support other runtimes such as Deno or Bun, due to the development time and testing needed.
What Have You Tried So Far?
Deno has come a long way, and I have reported multiple inconsistencies from Node.js that prevented me from running mineflayer in Deno. However, I have now run into a dead end with the following code:
Without a Minecraft server running on localhost:2555, it produces the following error:
However, when I run a local Minecraft server on localhost:2555, it returns the error:
In my limited understanding, an ECONNRESET occurs when the host refuses the connection for some reason. However, the Minecraft server produces no error messages. Is there a way I can get more information from either Minecraft or mineflayer?
The text was updated successfully, but these errors were encountered: