@Jonah Foster Thanks for reaching here!
To see the error message, you need to enable the application level log for node.js.
Here is a guide on how to deploy a nodejs app to azure for your reference.
Further for Troubleshooting you may follow below steps-
- Access the log stream.
- Test the app locally in production mode. App Service runs your Node.js apps in production mode, so you need to make sure that your project works as expected in production mode locally. For example:
- Depending on your package.json, different packages may be installed for production mode (
dependencies
vs.devDependencies
). - Certain web frameworks may deploy static files differently in production mode.
- Certain web frameworks may use custom startup scripts when running in production mode.
- Depending on your package.json, different packages may be installed for production mode (
- Run your app in App Service in development mode. For example, in MEAN.js, you can set your app to development mode in runtime by setting the
NODE_ENV
app setting.
Please let us know, if further assistance required here.