Skip to content Skip to sidebar Skip to footer

Deploying Node/sequelize App To Heroku - Issue With Port

I'm building a Node/Postgres app that I'm deploying to heroku. I'm receiving a timeout error while trying to open the app in production. According to Heroku, the error I'm receivin

Solution 1:

My problem actually had nothing to do with sequelize or my app setup. My package.json file was using app.js instead of bin/wwww for npm start. Thus app.js and models/index was getting called but not the actual server in bin/www. Anyone looking to solve this issue with an immediate crash in heroku logs, here is my suggestion. Place a few console.log()'s in your app server or app files and see what gets called. When the calling stops, that's where your issue lies.


Post a Comment for "Deploying Node/sequelize App To Heroku - Issue With Port"