Web Server: Difference between revisions
Jump to navigation
Jump to search
(Created page with "===PM2=== If you are having issues with PM2 run: <code>sudo pm2 delete all</code>. This should end all processes. Then run <code>sudo pm2 start npm -- start</code>") |
(→PM2) |
||
Line 1: | Line 1: | ||
===PM2=== | ===PM2=== | ||
If you are having issues with PM2 run: <code>sudo pm2 delete all</code>. This should end all processes. | If you are having issues with PM2 process manager serving the NextJs app (when <code>npm run start</code> works fine), run: <code>sudo pm2 delete all</code>. This should end all processes. | ||
Then run <code>sudo pm2 start npm -- start</code> | Then run <code>sudo pm2 start npm -- start</code> |
Revision as of 16:57, 28 December 2023
PM2
If you are having issues with PM2 process manager serving the NextJs app (when npm run start
works fine), run: sudo pm2 delete all
. This should end all processes.
Then run sudo pm2 start npm -- start