I have the following problem.
User1 is admin and installed pm2 globally on a Windows 2008 R2 Server, and are able to run npm commands, start/stop servers, read logs, etc.
User2 is also admin but can`t run the same commands on the same server of User1. I get this error below.
Things I already tried:
Found the problem. Thanks @tadman PATH was pointing to:
"C:\Users\TEMP\AppData\Roaming\npm\node_modules\pm2\bin"
and the correct path is
"C:\Users\TEMP\AppData\Roaming\npm"