Skip to content
Advertisement

React App not starting in azure app service

I’ve deployed a simple react app to azure app service and it won’t start:

How do I get the app to run index.html?

enter image description here

Advertisement

Answer

add this command in your azure dashboard > Configuration > Startup Command

pm2 serve /home/site/wwwroot --no-daemon

and restart your server. This fixed it for me!

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement