Why did I start server.js successfully with pm2, but immediately check it with pm2 list and display the status errored?

clipboard.png

Mar.13,2021

the program reported an error. Use node server.js to see the error message


if there is an error when the program is running. You can pm2 show 0 to check the error message in the log

.
Menu