It seems like every time I deploy one of my nuxt projects it breaks. When I open the website it responds with a 502 Bad Gateway error. I can fix it by going to View App Status > Actions > Reload App.
From the PM logs it seems like the following command is executed: " start nuxt start", which fails. Then when a reload is triggered, it executes " start nuxt start".
Can you please help me fix this?