npm install globally a package offline with tarball
According to npm docs, this should work; npm install ./package.tgz So I try this globally for pm2 tarfile I have downloaded from pm2 github repo releases page; npm install -g ./pm2-3.2.2.tar.gz But I got this; npm ERR! code ENOTFOUND npm ERR! errno ENOTFOUND npm ERR! network request to https://registry.npmjs.org/@pm2%2fagent failed, reason: getaddrinfo ENOTFOUND nb nb:443 … Read more