I recently got a VPS to host a discord.js bot of mine. But Ive been getting errors when seeing the logs from PM2 [pm2 log] which is resulting in the bot not going online & errors.
Reason why I'm confused here is the template was originally from a repl.it project which worked perfictly fine there, but when I bring it over onto the VPS it starts to have some issues internally with the node modules. If you think you know how to resolve this issue lease feel free to pitch some thoughts at me
I'll provide all the versions I'm running below, but if you need more data feel free to reach out
OS: Ubuntu 20.04 64 Bit, discordjs: 14.3.0, npm: 6.14.4, nodejs: 10.19.0