Some times in windows machine when logrotate is being installed the process got stuck here for ever. The original seup-logrotate.ps1 had this command pm2 install . --silent and the process got stuck after this log statement Installing pm2-logrotate locally in directory: C:\ProgramData\npm\npm\node_modules\@jessety\pm2-logrotate\.
I removed --slien flag and tried and now it printed [PM2] Spawning PM2 daemon with pm2_home=C:\ProgramData\pm2\home and got suck forever. It does not get stuck some times but it does sometimes.
Can you please help with this issue.
=== Creating Service Complete ===
=== Adding Log Rotation ===
Running in offline mode. Will not attempt to check npm registry connectivity.
Installing pm2-logrotate locally in directory: C:\ProgramData\npm\npm\node_modules\@jessety\pm2-logrotate\
[PM2] Spawning PM2 daemon with pm2_home=C:\ProgramData\pm2\home
Steps to Reproduce
update seup-logrotate.ps1with this commandpm2 install .`
Description
Hello,
Some times in windows machine when logrotate is being installed the process got stuck here for ever. The original
seup-logrotate.ps1
had this commandpm2 install . --silent
and the process got stuck after this log statementInstalling pm2-logrotate locally in directory: C:\ProgramData\npm\npm\node_modules\@jessety\pm2-logrotate\
.I removed
--slien
flag and tried and now it printed[PM2] Spawning PM2 daemon with pm2_home=C:\ProgramData\pm2\home
and got suck forever. It does not get stuck some times but it does sometimes. Can you please help with this issue.Steps to Reproduce
with this command
pm2 install .`Environment
C:\WINDOWS\system32>npm -v 8.5.5
C:\WINDOWS\system32>node -v v16.15.0
C:\WINDOWS\system32>pm2 -v 5.2.2