Closed sherlockwisdom closed 2 years ago
@sherlockwisdom please did you create the config file for production https://github.com/smswithoutborders/SMSwithoutborders-BE/blob/dev/docs/CONFIGURATIONS.md#production-environment-configurations
oops, just did tho and now have
0|BE-serve | > OAuth-2.0-authentications-API@1.0.0 start_main
0|BE-serve | > node controllers/sync_platforms.js && node server.js
0|BE-serve |
0|BE-serve | Creating Database smswithoutborders ...
0|BE-serve | Synchronizing database schema ...
0|BE-serve | Available Platforms:
0|BE-serve | ----> gmail
0|BE-serve | ----> twitter
0|BE-serve | ----> telegram
0|BE-serve | debug: Environment: production
0|BE-serve | info: Running secured on port:
is this something to take at?
0|BE-server | WARNING: NODE_APP_INSTANCE value of '0' did not match any instance config file names
is this something to take at?
0|BE-server | WARNING: NODE_APP_INSTANCE value of '0' did not match any instance config file names
Please @sherlockwisdom on what occasion does this happen?
when I run
NODE_ENV=production npm run start_main
it's part of the logs that populate
@sherlockwisdom seems this is a pm2 and node-config issue
https://github.com/node-config/node-config/issues/244#issuecomment-320778070
Thanks! I'm closing this now
I get the following warning and output when I run as production: