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
Problem:
I have a C: partition with my user account, and a E: partition with my workdir. When starting pm2 on E:\myWorkdir I always have an error message 'cannot create E:\users\myLogin.pm2
Solution:
on windows, the $HOME directory is done by the combination of %HOMEDRIVE%+%HOMEPATH%, so on $INSTALL_DIR/constants.js, change line 15, to be:
var PM2_ROOT_PATH = '';
To be honest, Win32 system is still in beta phase, and have problems.
It's hard to adapt to all machines, how about you change the PM2_HOME env-var manually, i.e.:
Problem:
I have a C: partition with my user account, and a E: partition with my workdir. When starting pm2 on E:\myWorkdir I always have an error message 'cannot create E:\users\myLogin.pm2
Solution:
on windows, the $HOME directory is done by the combination of %HOMEDRIVE%+%HOMEPATH%, so on $INSTALL_DIR/constants.js, change line 15, to be:
var PM2_ROOT_PATH = '';
The text was updated successfully, but these errors were encountered: