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
$ cd /Users/oy/projects/pm2-test/
$ node process.js
>>> [PM2] Spawning PM2 daemon
>>> fs.js:427
>>> return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
>>> ^
>>> Error: ENOENT, no such file or directory '/Users/oy/.pm2/pm2.log'
>>> at Object.fs.openSync (fs.js:427:18) ....
>>> ...
It looks like pm2 is looking for .pm2/pm2.log file under my user folder. I guess, this should be the case for a global installation. I've declared some log directories within my JSON config but it didn't help.. Any ideas?
The text was updated successfully, but these errors were encountered:
I'm on Mac OS X. I have a local installation of pm2 in my project's
node_modules
and I'm using the programmatic example to run my app through pm2.pm2.conf.json
process.js
In terminal:
It looks like pm2 is looking for
.pm2/pm2.log
file under my user folder. I guess, this should be the case for a global installation. I've declared some log directories within my JSON config but it didn't help.. Any ideas?The text was updated successfully, but these errors were encountered: