'This is a problem related to network connectivity. How to solve "please make sure that the proxy' config is set properly"

C:\Users\T480>npm install tar@6 -g npm ERR! code ENOTFOUND npm ERR! syscall getaddrinfo npm ERR! errno ENOTFOUND npm ERR! network request to https://registry.npmjs.org/chownr failed, reason: getaddrinfo ENOTFOUND proxy.company.com npm ERR! network This is a problem related to network connectivity. npm ERR! network In most cases you are behind a proxy or have bad network settings. npm ERR! network npm ERR! network If you are behind a proxy, please make sure that the npm ERR! network 'proxy' config is set properly. See: 'npm help config'

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\T480\AppData\Local\npm-cache_logs\2022-04-06T15_36_53_536Z-debug-0.log

npm


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source