tried downgrading to v13 and need help for the third time today.
have an error
3 Replies
⢠What's your exact discord.js
npm list discord.js and node node -v version?
⢠Post the full error stack trace, not just the top part!
⢠Show your code!
⢠Explain what exactly your issue is.
⢠Not a discord.js issue? Check out #useful-servers.C:\Users\csj25\OneDrive\Desktop\Bot\index.js:3
const chalk = require("chalk")
^
Error [ERR_REQUIRE_ESM]: require() of ES Module C:\Users\csj25\OneDrive\Desktop\Bot\node_modules\chalk\source\index.js from C:\Users\csj25\OneDrive\Desktop\Bot\index.js not supported.
Instead change the require of C:\Users\csj25\OneDrive\Desktop\Bot\node_modules\chalk\source\index.js in C:\Users\csj25\OneDrive\Desktop\Bot\index.js to a dynamic import() which is available in all CommonJS modules.
at Object.<anonymous> (C:\Users\csj25\OneDrive\Desktop\Bot\index.js:3:15) {
code: 'ERR_REQUIRE_ESM'
}
um i cant send code
Unknown Userā¢3y ago
Message Not Public
Sign In & Join Server To View