Установите прокси для NPM
npm config set proxy http://username:password@host:port
npm config set https-proxy http://username:password@host:port
Curious Capybara
npm config set proxy http://username:password@host:port
npm config set https-proxy http://username:password@host:port
npm config set proxy http://proxy_host:port
proxy=http://username:password@host:port
https-proxy=http://username:password@host:port
https_proxy=http://username:password@host:port