Read about a proxy variable in a .npmrc file but it does not work. Trying to avoid manually downloading all require packages and installing.
.npmrc
vim ~/.npmrc in your Linux machine and add following. Don't forget to add registry part as this cause failure in many cases.
vim ~/.npmrc
registry
proxy=http://: https-proxy=https://: registry=http://registry.npmjs.org/