You can clone with
Running on windows i keep seeing Launching daemon but nothing happens.
I tried with the json file and manually with pm2 start app.js but with no luck.
Also pm2 list and the other commands give the same result.
I am doing something wrong?
pm2 start app.js
OS: Win 7 x64
Hello, thanks for reporting issues.
PM2 is a production module, who should be mainly used on Linux servers. I haven't tried it on other platforms than Linux.
Feel free to contribute if you want to integrate this compatibility feature !
When changed detached: true to false in Satan.launchDaemon daemon forking options got this error:
throw er; // Unhandled 'error' event
Error: spawn Unknown system errno 203
at errnoException (child_process.js:945:11)
at Process.ChildProcess._handle.onexit (child_process.js:736:34)
but cant find what is that 203 error.
how about use nssm in windows? there is another project: http://jfromaniello.github.io/winser/
I was trying to get pm2 to work on my Windows-based development workstation for testing purposes, but whenever I invoke it with any parameters, I get:
throw arguments; // Unhandled 'error' event
Error: connect EADDRNOTAVAIL
at errnoException (net.js:770:11)
at Object.afterConnect [as oncomplete] (net.js:761:19)
I tried debugging pm2, but I really didn't get anywhere. What is the execution path after everything in the pm2 file is defined?