NPM设置代理
# 设置 http 代理
npm config set proxy http://127.0.0.1:7078
# 设置 https 代理
npm config set https-proxy http://127.0.0.1:7078
# 查看代理设置是否生效
npm config get proxy
npm config get https-proxy
# 删除代理设置
npm config delete proxy
npm config delete https-proxy