Discord-Mass-DM-Tool
Discord-Mass-DM-Tool copied to clipboard
Error [ERR_REQUIRE_ESM]: require() of ES Module
Error [ERR_REQUIRE_ESM]: require() of ES Module C:\Users\deman\OneDrive\Desktop\Folders\Discord-Mass-DM-Tool-3revamp\node_modules\chalk\source\index.js from C:\Users\deman\OneDrive\Desktop\Folders\Discord-Mass-DM-Tool-3revamp\script.js not supported. Instead change the require of index.js in C:\Users\deman\OneDrive\Desktop\Folders\Discord-Mass-DM-Tool-3revamp\script.js to a dynamic import() which is available in all CommonJS modules. at Object.<anonymous> (C:\Users\deman\OneDrive\Desktop\Folders\Discord-Mass-DM-Tool-3revamp\script.js:11:38) { code: ←[32m'ERR_REQUIRE_ESM'←[39m }
I get this error when trying to run the script, any way to fix it?
get the same god damn thing... rip
Install lower version of chalk -
npm install chalk@^4.1.2