title: npm ERR! request to https://registry.npmjs.org/ngx-pagination failed, reason: getaddrinfo EAI_AGAIN registry.npmjs.org registry.npmjs.org:443
body: <p>While installing any npm package, I am getting the same error every time.</p>
  
  <p>Tried to remove and set proxy but it didn't work.</p>
  
  <p>tabish@appventurez:~/Documents/projects/InstaCEI/InstaCEI_Website$ sudo npm i ngx-pagination --save
  npm ERR! code EAI_AGAIN
  npm ERR! errno EAI_AGAIN
  npm ERR! request to <a href="https://registry.npmjs.org/ngx-pagination" rel="nofollow noreferrer">https://registry.npmjs.org/ngx-pagination</a> failed, reason: getaddrinfo EAI_AGAIN registry.npmjs.org registry.npmjs.org:443</p>
  
  <p>npm ERR! A complete log of this run can be found in:
  npm ERR!     /home/tabish/.npm/_logs/2019-06-19T11_27_35_023Z-debug.log</p>
  
  <p>tabish@appventurez:~/Documents/projects/InstaCEI/InstaCEI_Website$ sudo npm i ngx-pagination --save
  npm ERR! code EAI_AGAIN
  npm ERR! errno EAI_AGAIN
  npm ERR! request to <a href="https://registry.npmjs.org/ngx-pagination" rel="nofollow noreferrer">https://registry.npmjs.org/ngx-pagination</a> failed, reason: getaddrinfo EAI_AGAIN registry.npmjs.org registry.npmjs.org:443</p>
  
  <p>npm ERR! A complete log of this run can be found in:
  npm ERR!     /home/tabish/.npm/_logs/2019-06-19T11_27_35_023Z-debug.log</p>