Replies: 1 comment 1 reply
-
|
Please ask ChatGPT to link you some JS basics tutorials. To provide support we need the user to have some basic understanding of the language. Same goes for the duplicate issue you opened (#3022) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
please help my bot can't connect to minecraft server when i run it this error pops up in the code:
PS D:\bots> node mybot.js
Debugger attached.
Waiting for the debugger to disconnect...
D:\bots\mybot.js:1
const bot = mineflayer.createBot({
^
ReferenceError: mineflayer is not defined
at Object. (D:\bots\mybot.js:1:13)
at Module._compile (node:internal/modules/cjs/loader:1254:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Module._load (node:internal/modules/cjs/loader:958:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47
Node.js v18.16.0
Beta Was this translation helpful? Give feedback.
All reactions