While installing any npm package, I am getting the same error every time.
Tried to remove and set proxy but it didn't work.
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 https://registry.npmjs.org/ngx-pagination failed, reason: getaddrinfo EAI_AGAIN registry.npmjs.org registry.npmjs.org:443
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
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 https://registry.npmjs.org/ngx-pagination failed, reason: getaddrinfo EAI_AGAIN registry.npmjs.org registry.npmjs.org:443
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