pm2-logrotate icon indicating copy to clipboard operation
pm2-logrotate copied to clipboard

Getting error when install pm2-logrotate

Open aharon-vish opened this issue 2 years ago • 0 comments

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

aharon-vish avatar Sep 11 '22 13:09 aharon-vish