pm2
pm2 copied to clipboard
pm2 is running but I can't run it
What's going wrong?
I can't run pm2 under root pm2 report Command 'pm2' not found,
Supporting information
You didn't install pm2 globally most likely. Install pm2 using root and it should work.
Please be advised, running pm2 under root should not be necessary and is not recommended! Your nodejs processes will also run as root as a result which is dangerous.