Error shows when i type in "node. /src/index.js

PS C:\Users\GAL0004\Desktop\Amethyst> node ./src/index.js node:internal/modules/cjs/loader:1051 throw err; ^ Error: Cannot find module 'C:\Users\GAL0004\Desktop\Amethyst\src\index.js' at Module._resolveFilename (node:internal/modules/cjs/loader:1048:15) at Module._load (node:internal/modules/cjs/loader:901:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12) at node:internal/main/run_main_module:23:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v20.4.0
9 Replies
d.js toolkit
d.js toolkit12mo ago
- 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. - Issue solved? Press the button!
JemMa
JemMa12mo ago
what does this error mean? anyone gonna help me? hello? @d.js toolkit @Mod
monbrey
monbrey12mo ago
#rules
JemMa
JemMa12mo ago
hm? wdym
monbrey
monbrey12mo ago
Your post is not a reason to ping mods
JemMa
JemMa12mo ago
well are u going to help me
monbrey
monbrey12mo ago
No, I'm not. I wasn't here helping at the time and I didn't respond to a ping to try to help, I thought moderator action was required
JemMa
JemMa12mo ago
...
treble/luna
treble/luna12mo ago
Your error is not djs related