Reputation: 1177
I'm trying to run pm2 on a x64 windows 8.1 Machine, after a couple of problems I succesfully installed pm2, but now that I'm trying to run it I receive the following error:
The system cannot find the path specified.
The error comes from the pm2.cmd file, which contains the following code:
@IF EXIST "%~dp0/bin/sh.exe" ( "%~dp0/bin/sh.exe" "%~dp0\node_modules\pm2\bin\pm2" %* ) ELSE ( /bin/sh "%~dp0\node_modules\pm2\bin\pm2" %* )
Upvotes: 1
Views: 2348
Reputation: 14003
Pm2 cant run in windows, because:
PM2 is a production module, who should be mainly used on Linux servers. It hasnt been tested on other platforms than Linux.
Here is the official issue at the repo: https://github.com/Unitech/pm2/issues/6
Upvotes: 1