0

I am running a nodejs server. When I run it with the command "node index.js" the app run fine. But when I run it using pm2 -> "pm2 start index.js" pm2 outputs that the app is online but it isn't. Also when I check about it using the command 'pm2 status', no running app is showed.

This problem occurred after I made some changes in my "index.js". But reverting the "index.js" file to the previous working (index.js) with pm2 is also not working now.

Below is the screen shot, please help. enter image description here

Gaurav
  • 103
  • 1
  • 11

0 Answers0