Blank page when deploying express.js app

I’m trying to publish an express.js app on netlify so that I can redirect my hosted domain website to point to it.

I keep getting a blank page when I deploy my app although everything seems in order. I can’t figure out if it’s my build settings, the pm2 (node package) command I am using, the netlify.toml.

Any and all help would be appreciated.

Netlify is for static hosting, however with the additions of functions through AWS you can run an express app but not in the traditional way… You will need to run serverless express. 10s function timeouts might cause you issues but it could be worth looking into. I found a blog below.

1 Like