Discord-Bot-Dashboard icon indicating copy to clipboard operation
Discord-Bot-Dashboard copied to clipboard

pls help me

Open python-hmv opened this issue 3 years ago • 1 comments

Error [ERR_REQUIRE_ESM]: require() of ES Module /home/runner/Discord-Bot-Dashboard-1/node_modules/node-fetch/src/index.js from /home/runner/Discord-Bot-Dashboard-1/bot/commands/info/anime.js not supported. Instead change the require of index.js in /home/runner/Discord-Bot-Dashboard-1/bot/commands/info/anime.js to a dynamic import() which is available in all CommonJS modules. at n (/home/runner/Discord-Bot-Dashboard-1/node_modules/jiti/dist/v8cache.js:2:2472) at Object. (/home/runner/Discord-Bot-Dashboard-1/bot/commands/info/anime.js:2:15) at Module.o._compile (/home/runner/Discord-Bot-Dashboard-1/node_modules/jiti/dist/v8cache.js:2:2778) at n (/home/runner/Discord-Bot-Dashboard-1/node_modules/jiti/dist/v8cache.js:2:2472) at /home/runner/Discord-Bot-Dashboard-1/bot/handlers/command.js:18:24 at Array.forEach () at module.exports (/home/runner/Discord-Bot-Dashboard-1/bot/handlers/command.js:10:62) at /home/runner/Discord-Bot-Dashboard-1/bot/index.js:12:35 at Array.forEach () at Object. (/home/runner/Discord-Bot-Dashboard-1/bot/index.js:11:23) at Module.o._compile (/home/runner/Discord-Bot-Dashboard-1/node_modules/jiti/dist/v8cache.js:2:2778) at Object. (/home/runner/Discord-Bot-Dashboard-1/server.js:25:1) { code: 'ERR_REQUIRE_ESM' } npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] start: NODE_ENV=production node server.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /home/runner/.npm/_logs/2021-10-22T13_14_24_720Z-debug.log exit status 1

python-hmv avatar Oct 22 '21 13:10 python-hmv