Deploying commands (following guide)
Hey! I'm having trouble. When I run
node deploy-commands.js
, I expect the deploy-commands.js file to actually run, but it doesn't appear to be doing so. I've (to my knowledge) followed the guide as asked and I'm still having trouble.
Things I've tried (per looking at pervious posts):
Restarting Discord to clear commands cache, in addition to checking on my phone after trying to run the code
Ensured accuracy of the guildId, clientId, and token in config.json
. It is accurate.8 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
- ✅
Marked as resolved by OP
discord.js version 14.19.3
This does look correct. What makes you say it doesn't run? No terminal output?

Is the file saved?
It shouldnt be possible for no output
well damn
I thought I was smarter than that
:kek: all good
thanksss