Web Server

From Wreckroom
Revision as of 16:59, 28 December 2023 by 192.168.1.1 (talk) (→‎PM2)
Jump to navigation Jump to search

PM2

If you are having issues with PM2 process manager serving the NextJs app (when sudo npm run start works fine), run: sudo pm2 delete all.

This will end all processes.

Then run sudo pm2 start npm -- start and that should cause PM2 to serve correctly.