Cannot Find Module Error

everytime i run node register-commands.js in the terminal, it shows an error, here's a screenshot
No description
19 Replies
d.js toolkit
d.js toolkit4h ago
Tim Pun
Tim PunOP4h ago
this discord.js version runs 14.22.0 and a node.js version runs v22.18.20
Unknown User
Unknown User4h ago
Message Not Public
Sign In & Join Server To View
Tim Pun
Tim PunOP4h ago
yeah i know
Tim Pun
Tim PunOP4h ago
No description
Unknown User
Unknown User4h ago
Message Not Public
Sign In & Join Server To View
Tim Pun
Tim PunOP4h ago
i forgot to change it
Unknown User
Unknown User4h ago
Message Not Public
Sign In & Join Server To View
Tim Pun
Tim PunOP3h ago
i will do deploy-commands.js
Unknown User
Unknown User3h ago
Message Not Public
Sign In & Join Server To View
Tim Pun
Tim PunOP3h ago
it worked
Amgelo
Amgelo3h ago
why are you importing your deploy script anyways?
Tim Pun
Tim PunOP3h ago
i forgot the wrong file
Amgelo
Amgelo3h ago
it's not recommended to run it on every start if that's what you want
Unknown User
Unknown User3h ago
Message Not Public
Sign In & Join Server To View
monbrey
monbrey3h ago
That's not an import, node throws the same error if you directly run a file that isn't there
Amgelo
Amgelo3h ago
ah, I see
Tim Pun
Tim PunOP3h ago
can i solve this issue now? ok then
d.js toolkit
d.js toolkit3h ago
The thread owner has marked this issue as solved.

Did you find this page helpful?