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
- 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!what does this error mean?
anyone gonna help me?
hello?
@d.js toolkit
@Mod
#rules
hm?
wdym
Your post is not a reason to ping mods
well are u going to help me
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
...
Your error is not djs related