kolbytn / mindcraft

MIT License
2.22k stars 267 forks source link

cant run main.js #302

Open TheMCV3teran opened 2 weeks ago

TheMCV3teran commented 2 weeks ago

in my command prompt, i run "node main.js" and it says "[ './andy.json' ]" and then spams "SES_UNCAUGHT_EXCEPTION: { code: 'MODULE_NOT_FOUND', requireStack: [ 'S:\AI Minecraft Player\mindcraft-main\mindcraft-main\node_modules\mineflayer\node_modules\minecraft-data\lib\supportsFeature.js', 'S:\AI Minecraft Player\mindcraft-main\mindcraft-main\node_modules\mineflayer\node_modules\minecraft-data\index.js', 'S:\AI Minecraft Player\mindcraft-main\mindcraft-main\node_modules\mineflayer\lib\supportFeature.js', 'S:\AI Minecraft Player\mindcraft-main\mindcraft-main\node_modules\mineflayer\lib\loader.js' ] } Agent process exited with code 4294967295 and signal null Restarting agent..."

can anyone help me?

TheMCV3teran commented 2 weeks ago

i will try moving it closer to my minecraft directory

TheMCV3teran commented 2 weeks ago

after i moved it, it's saying it ended too quickly and that it wont restart

JurassikLizard commented 2 weeks ago

what do you mean "move it closer"

TheMCV3teran commented 2 weeks ago

what do you mean "move it closer"

not sure how to explain it, the best way i can is saying "making the path it has to take to minecraft shorter"

keneo commented 2 weeks ago

the bot itself doesn't need minecraft to be even installed. so it doesn't matter how close it is ;)

DerJanniku commented 2 weeks ago

Hi there! I noticed you're experiencing a module loading issue when trying to run the project. Could you provide some additional details to help diagnose the problem?

  1. What is your Node.js version? (node --version)
  2. What operating system are you using?
  3. Can you share the full error message you're seeing?

In the meantime, here are a few things to try: