npm config set proxy http://xxxx npm confit set https-proxy http://xxxx npm config set registry "http://registry.npmjs.org/"