I install the pm2 using npm install -g pm2 then when I run my node application using
pm2 start app.js
nothing is happening. when I run the command in terminal, it just go down another line. No errors or warnings shows in the terminal. I can run the application using nodejs app.js . Any kind of help would be appreciated. Thanks.
I suppose it happens because of the node.js executable, if you are in Ubuntu install nodejs-legacy to enable the correct "node" executable link, I think pm2 is trying to use this one.
ps aux|grep node check the node is already running?pm2 list check you process is running?