pm2 icon indicating copy to clipboard operation
pm2 copied to clipboard

pm2 is running but I can't run it

Open nicdnepr opened this issue 1 year ago • 1 comments

What's going wrong?

I can't run pm2 under root pm2 report Command 'pm2' not found,

Supporting information

Untitled

nicdnepr avatar Jan 29 '24 18:01 nicdnepr

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.

ultimate-tester avatar Feb 29 '24 08:02 ultimate-tester