This page guides with the management of proxy servers during installations
This can be easily achieved with yum config file “/etc/yum.conf“. Under main section define the proxy settings like below:
vim /etc/yum.conf
...
[main]
proxy=http://10.123.227.33:3128
https-proxy=http://10.123.227.33:3128
Once again, if there is a proxy then tell npm where to find it.
#DPW
npm config set proxy http://10.123.227.33:3128
npm config set https-proxy http://10.123.227.33:3128
npm config set strict-ssl false