Cannot Find Module Error
everytime i run node register-commands.js in the terminal, it shows an error, here's a screenshot

19 Replies
this discord.js version runs 14.22.0 and a node.js version runs v22.18.20
Unknown User•4h ago
Message Not Public
Sign In & Join Server To View
yeah i know

Unknown User•4h ago
Message Not Public
Sign In & Join Server To View
i forgot to change it
Unknown User•4h ago
Message Not Public
Sign In & Join Server To View
i will do deploy-commands.js
Unknown User•3h ago
Message Not Public
Sign In & Join Server To View
it worked
why are you importing your deploy script anyways?
i forgot the wrong file
it's not recommended to run it on every start if that's what you want
Unknown User•3h ago
Message Not Public
Sign In & Join Server To View
That's not an import, node throws the same error if you directly run a file that isn't there
ah, I see
can i solve this issue now?
ok then
The thread owner has marked this issue as solved.