I’ve followed a tutorial on adding a bot created by DBM to a server to run 24/7. During this, I had no errors until I opened the logs and had “initializing node_modules, hold on…” message stare at me for about an hour.
Any help solving this issue would be greatly appreciated!
@cori Regarding the bot name, I edited /Helpful Skelly/bot.js to Helpful_Skelly/bot.js and let it run. I’m now being shown a module error instead.
module.js:550
throw err;
^
Error: Cannot find module 'discord.js'
at Function.Module._resolveFilename (module.js:548:15)
at Function.Module._load (module.js:475:25)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/app/Helpful_Skelly/bot.js:8:35)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
a few seconds ago
If I’m going down the wrong path, please let me know.