edua_glz
edua_glz

Reputation: 1177

pm2: The system cannot find the specified path (Node.js)

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

Answers (1)

jmingov
jmingov

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

Related Questions