Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pm2 logrotate got stuck with install #84

Open
sendev1 opened this issue Jun 5, 2023 · 0 comments
Open

pm2 logrotate got stuck with install #84

sendev1 opened this issue Jun 5, 2023 · 0 comments

Comments

@sendev1
Copy link

sendev1 commented Jun 5, 2023

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 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

  1. update seup-logrotate.ps1with this commandpm2 install .`
  2. Install PM2
  3. Process gets stuck in windows.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant