package problem

https://sourceb.in/peWFtMDyBx i get this error everytime i try and run
12 Replies
d.js toolkit
d.js toolkit•3y 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.
Nounejm
Nounejm•3y ago
looks to be related to webhooks
KAVI
KAVI•3y ago
The error says that there's no file called like that in your root directory Where you're executing the command or bot from Double check your paths mb looks like package is corrupted. Not the code
Nounejm
Nounejm•3y ago
cringe moment for me
KAVI
KAVI•3y ago
Also do a npm ls discord.js for me We all have to learn. That case is suspicious. SCREAMING_SNAKE_CASE is used in older dJS versions
pvua
pvuaOP•3y ago
npm ls discord.js
esno-bot@1.0.0 C:\Users\jack\Desktop\esno bot
ā”œā”€ā”¬ discord-gamecord@4.4.0
│ └── discord.js@14.11.0 deduped
ā”œā”€ā”¬ discord-giveaways@6.0.1
│ └── discord.js@14.11.0 deduped
└── discord.js@14.11.0
npm ls discord.js
esno-bot@1.0.0 C:\Users\jack\Desktop\esno bot
ā”œā”€ā”¬ discord-gamecord@4.4.0
│ └── discord.js@14.11.0 deduped
ā”œā”€ā”¬ discord-giveaways@6.0.1
│ └── discord.js@14.11.0 deduped
└── discord.js@14.11.0
@devkavi this comes up when i do it
Unknown User
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
pvua
pvuaOP•3y ago
so npm i discrd.js etc
Unknown User
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
pvua
pvuaOP•3y ago
sorry for another ping but what does this mean? Error: ENOTDIR: not a directory, scandir './src/commands/8ball.js
Unknown User
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
pvua
pvuaOP•3y ago
tysm gwapes (:

Did you find this page helpful?