Discord-Presser-Server-Nuker icon indicating copy to clipboard operation
Discord-Presser-Server-Nuker copied to clipboard

Cannot find module

Open cryotheslayer opened this issue 2 years ago • 4 comments

Error: Cannot find module '/home/gamers/nuke/index.js' at Module._resolveFilename (node:internal/modules/cjs/loader:939:15) at Module._load (node:internal/modules/cjs/loader:780:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) at node:internal/main/run_main_module:17:47 { code: 'MODULE_NOT_FOUND', requireStack: []

cryotheslayer avatar Apr 21 '22 23:04 cryotheslayer

could be that your files have been flagged by windows check if they actually exist

MemeGang8 avatar May 13 '22 09:05 MemeGang8

node src/index.js

Ximaz avatar Jun 25 '22 17:06 Ximaz

node src/index.js

it still wont work? i type that in the terminal and still no luck whatsoever of fixing it

Enzoputra avatar Jul 27 '22 02:07 Enzoputra

  1. Check discord.js module ( make sure its [email protected] [ npm list and find discord.js ] TIPS: when installing type npm i [email protected])
  2. Check the code const { Client, Intents, MessageEmbed } = require("discord.js");
  3. I don't recommended index.js * config.json put in the folder

CODE-A-DUCK avatar Oct 31 '22 06:10 CODE-A-DUCK