You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var pm2 = require('pm2');
pm2.connect(function(err) {});
after installing pm2 locally, this is what I get:
[PM2] Spawning PM2 daemon
fs.js:432
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: ENOENT, no such file or directory '/Users/polo/.pm2/pm2.log'
at Object.fs.openSync (fs.js:432:18)
at Object.launchDaemon (/Users/polo/Work/nirror/nirror-server/node_modules/pm2/lib/Satan.js:314:14)
at /Users/polo/Work/nirror/nirror-server/node_modules/pm2/lib/Satan.js:52:20
at /Users/polo/Work/nirror/nirror-server/node_modules/pm2/lib/Satan.js:372:14
at process._tickCallback (node.js:419:13)
I guess a quick fix would be to copy paste the code from CLI.pm2Init in Satan.launchDaemon.
The text was updated successfully, but these errors were encountered:
When running:
after installing pm2 locally, this is what I get:
I guess a quick fix would be to copy paste the code from
CLI.pm2Init
inSatan.launchDaemon
.The text was updated successfully, but these errors were encountered: