Skip to content

Getting error when install pm2-logrotate  #183

Open
@aharon-vish

Description

@aharon-vish

Hello,
I am trying to install pm2-logrotate ,
When i run sudo pm2 install pm2-logrotate i am getting :

[PM2][Module] Installing NPM pm2-logrotate module
[PM2][Module] Calling [NPM] to install pm2-logrotate ...
npm ERR! code EAI_AGAIN
npm ERR! errno EAI_AGAIN
npm ERR! request to https://registry.npmjs.org/pm2-logrotate failed, reason: getaddrinfo EAI_AGAIN registry.npmjs.org:443

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/moveoadm/.npm/_logs/2022-09-11T13_04_42_519Z-debug.log
[PM2][ERROR] Installation failed via NPM, module has been restored to prev version

pm2 version: 3.2.9
node veriosn: v12.16.1

I am using NVM don't konw if it's relevent

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions