Closed CherryWaffle closed 2 years ago
can you try reverting back to an older version of chalk
It says its a problem with node-fetch
package
1). How to fix Error [ERR_REQUIRE_ESM]: require() of ESM module
for the package node-fetch
?
Go to your package.json file
Replace node-fetch: "^3.0.0"
with node-fetch: "^2.6.1"
Reinstall node-fetch by doing npm install node-fetch@2.6.1
Restart the bot
^^ This should probably fix the error and your bot should start to work normally.
2). How to fix Error [ERR_REQUIRE_ESM]: require() of ESM Module
for the package chalk
?
Uninstall the package chalk
Do npm install chalk@4.1.0
in the terminal.
Restart the bot.
^^ This should probably fix the error and your bot should start to work normally.
The bot now starts, but I get this error Uncaught Exception: ReferenceError: client is not defined
and the bot wont respond to commands.
I did make a few changes, but it wont work for some reason ..
The bot now starts, but I get this error
Uncaught Exception: ReferenceError: client is not defined
and the bot wont respond to commands.
Full error please ?
The bot now starts, but I get this error
Uncaught Exception: ReferenceError: client is not defined
and the bot wont respond to commands.Full error please ?
This is the full error, for me at least... https://imgur.com/a/VrbNJYK
find the line that require client and check for typo
The bot now starts, but I get this error
Uncaught Exception: ReferenceError: client is not defined
and the bot wont respond to commands.
I got this same error how to fix this?
The bot now starts, but I get this error
Uncaught Exception: ReferenceError: client is not defined
and the bot wont respond to commands.Full error please ?
This is the full error, for me at least... https://imgur.com/a/VrbNJYK
Full error means to show the console. It's just one line. Bruh
The bot now starts, but I get this error
Uncaught Exception: ReferenceError: client is not defined
and the bot wont respond to commands.Full error please ?
This is the full error, for me at least... https://imgur.com/a/VrbNJYK
Go to the index.js
file and change the code (line 73 to line 81) to comments, and then run the bot again. This will help you to log the full error in the console.
The bot now starts, but I get this error
Uncaught Exception: ReferenceError: client is not defined
and the bot wont respond to commands.Full error please ?
This is the full error, for me at least... https://imgur.com/a/VrbNJYK
Go to the
index.js
file and change the code (line 73 to line 81) to comments, and then run the bot again. This will help you to log the full error in the console.
That works, thanks!
The bot now starts, but I get this error
Uncaught Exception: ReferenceError: client is not defined
and the bot wont respond to commands.Full error please ?
This is the full error, for me at least... https://imgur.com/a/VrbNJYK
Full error means to show the console. It's just one line. Bruh
THIS is the full error. https://imgur.com/a/pNQ2xLI
The bot now starts, but I get this error
Uncaught Exception: ReferenceError: client is not defined
and the bot wont respond to commands.
Error Fixed. Update your ready.js
event file.
The bot now starts, but I get this error
Uncaught Exception: ReferenceError: client is not defined
and the bot wont respond to commands.Error Fixed. Update your
ready.js
event file.
It did work... A little bit, now I get a new error. https://imgur.com/a/cnl195u
The bot now starts, but I get this error
Uncaught Exception: ReferenceError: client is not defined
and the bot wont respond to commands.Error Fixed. Update your
ready.js
event file.It did work... A little bit, now I get a new error. https://imgur.com/a/cnl195u
Fixed. Should work now.
I'm getting this error
ERR_REQUIRE_ESM
for the chalk package..