After completing the setup, it appears the app crashes.
This is with heroku deployment.
If I go to the console and type npm run bot I get the same error as if I restart all dynos.
Not a Node.js guy so this might be a simple fix if I install the right packages.
LOG:
2018-06-16T05:05:26.685192+00:00 heroku[bot.1]: State changed from crashed to starting
2018-06-16T05:05:31.108373+00:00 heroku[bot.1]: Starting process with command `node ./lib/index.js`
2018-06-16T05:05:31.817406+00:00 heroku[bot.1]: State changed from starting to up
2018-06-16T05:05:33.554451+00:00 heroku[bot.1]: Process exited with status 1
2018-06-16T05:05:33.479687+00:00 app[bot.1]: module.js:472
2018-06-16T05:05:33.479710+00:00 app[bot.1]: throw err;
2018-06-16T05:05:33.479712+00:00 app[bot.1]: ^
2018-06-16T05:05:33.479713+00:00 app[bot.1]:
2018-06-16T05:05:33.479715+00:00 app[bot.1]: Error: Cannot find module 'cli-table2'
2018-06-16T05:05:33.479717+00:00 app[bot.1]: at Function.Module._resolveFilename (module.js:470:15)
2018-06-16T05:05:33.479719+00:00 app[bot.1]: at Function.Module._load (module.js:418:25)
2018-06-16T05:05:33.479720+00:00 app[bot.1]: at Module.require (module.js:498:17)
2018-06-16T05:05:33.479722+00:00 app[bot.1]: at require (internal/module.js:20:19)
2018-06-16T05:05:33.479724+00:00 app[bot.1]: at Object.<anonymous> (/app/lib/modules/clapp-discord/index.js:4:12)
2018-06-16T05:05:33.479725+00:00 app[bot.1]: at Module._compile (module.js:571:32)
2018-06-16T05:05:33.479727+00:00 app[bot.1]: at Object.Module._extensions..js (module.js:580:10)
2018-06-16T05:05:33.479728+00:00 app[bot.1]: at Module.load (module.js:488:32)
2018-06-16T05:05:33.479730+00:00 app[bot.1]: at tryModuleLoad (module.js:447:12)
2018-06-16T05:05:33.479731+00:00 app[bot.1]: at Function.Module._load (module.js:439:3)
2018-06-16T05:05:33.573377+00:00 heroku[bot.1]: State changed from up to crashed
After completing the setup, it appears the app crashes.
This is with heroku deployment.
If I go to the console and type
npm run botI get the same error as if I restart all dynos.Not a Node.js guy so this might be a simple fix if I install the right packages.
LOG: