I cannot deploy simple nextjs app

I cannot deploy simple nextjs app always send me PM2 Error
I tried everything in docs and guides

Hello @ranaharoon3222, welcome to the Cleavr forum!

I took a look at your web app settings and updated the PM2 config (in web app > settings > build) to start on port 3000. Next hardcodes the port to 3000 unless you make an adjustment to the code. This seemed to do the trick.

I’ll review our docs/guides and see if I can make that more clear in case others run into a similar issues. :slightly_smiling_face: