I am following these three commands, but it still resulted in an error.
#npm config set https-proxy http://proxy.company.com:8080
#npm config set http_proxy=http://domain:8080
After these command before ran two commands.
#npm config set proxy http://domain:8080
#npm rebuild node-sass
#npm install
#ionic serve
Error:
```none
Admins-Mac-mini-5:~ techwinlabs$ sudo npm install -g cordova ionic
npm ERR! code ENOTFOUND
npm ERR! errno ENOTFOUND
npm ERR! network request to http://registry.npmjs.org/cordova failed,
reason: getaddrinfo ENOTFOUND proxy.company.com proxy.company.com:8080
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! /Users/techwinlabs/.npm/_logs/2020-07-15T08_06_22_790Z-debug.log