This is a template you can use to report issues. You can also drag images, videos and include Preformatted text
Expected behavior
My app works fine when running locally, I’d expect it to be running fine on production.
Actual behavior
I deployed on Heroku, connected to the database and added the provided config variables. I clicked ‘finish’ and the production environment is now listed under the ‘environments’ section of my locally hosted app. I set up a new role and as far as I can tell, the site should be up and running. However, navigating to the URL just shows me a blank page. Am I missing something?
Failure Logs
No errors seem to show in the logs:
2021-08-13T11:08:30.604087+00:00 heroku[web.1]: Restarting
2021-08-13T11:08:30.617112+00:00 heroku[web.1]: State changed from up to starting
2021-08-13T11:08:31.534805+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2021-08-13T11:08:31.661021+00:00 heroku[web.1]: Process exited with status 143
2021-08-13T11:08:32.943063+00:00 heroku[web.1]: Starting process with command npm start
2021-08-13T11:08:34.905502+00:00 app[web.1]:
2021-08-13T11:08:34.905519+00:00 app[web.1]: > care4cf-admin@0.0.1 start /app
2021-08-13T11:08:34.905520+00:00 app[web.1]: > node ./server.js
2021-08-13T11:08:34.905520+00:00 app[web.1]:
2021-08-13T11:08:35.650198+00:00 app[web.1]: Your application is listening on port 40191.
2021-08-13T11:08:35.761695+00:00 app[web.1]: Your admin panel is available here: https://app.forestadmin.com/projects
2021-08-13T11:08:36.663767+00:00 heroku[web.1]: State changed from starting to up
2021-08-13T11:08:52.517372+00:00 heroku[router]: at=info method= GET path="/" host=care4cf-admin.herokuapp.com request_id=158908a1-a869-47f3-ac6a-8dad46ac25ab fwd=“86.152.129.214” dyno=web.1 connect=0ms service=11ms status=304 bytes=292 protocol=https
2021-08-13T11:08:52.516747+00:00 app[web.1]: GET / 304 - - 6.013 ms
2021-08-13T11:08:57.537190+00:00 heroku[router]: at=info method= GET path="/" host=care4cf-admin.herokuapp.com request_id=a5de1fc3-cfdd-487b-a493-c03a160b0296 fwd=“86.152.129.214” dyno=web.1 connect=0ms service=2ms status=304 bytes=292 protocol=https
2021-08-13T11:08:57.535704+00:00 app[web.1]: GET / 304 - - 1.054 ms
Context
Please provide any relevant information about your setup.
- Express Version: 4.17.1
- Nodejs Version: 16.5.0
- Sequelize Version: 5.15.1
- Database Dialect: MySQL
- Database Version: 5.7.32-log
- Project Name: care4cf-admin