Discord.js bot on server dont start

I have a server for my discord bots, to host my bots i use the package pm2. When I hosted the first bot everything worked fine, but when I uploaded the 2nd bot, it no longer found the ./handlers folder, when I then tried further commands with pm2 the first bot also worked at some point (after 5 days of running time ) no longer. What is the reason and how can I fix this error? (The folder is in the same folder from which it is also called)
3 Replies
d.js toolkit
d.js toolkit2y 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.
treble/luna
treble/luna2y ago
as you were told, not djs related, #other-js-ts Its something with your pm2 and file path
Black_Wither
Black_WitherOP2y ago
ah sry, I have read it wrong
Want results from more Discord servers?
Add your server