I did a workaround by calling pm2 from the “node_modules” folder and it works fine in dev mode unless packaged for distribution. When launching the packed executable nothing happens although confirmed the path is correct and the binary available there. any hint on what could be wrong?
error is reproducible on OSX, Linux, Windows.
the main goal is to spawn pm2 from within my electron app in production. (after packaged with electron packager)
offering 50$ worth of bitcoin for a solution or hint which leads to a solution. please post your public key together with your reply in case of a solution/hint.