Node 镜像
直接使用
npm install –registry=https://registry.npmmirror.com
全局配置
npm config set registry=https://registry.npmmirror.com
electron 镜像
export ELECTRON_MIRROR=http://npm.taobao.org/mirrors/electron/
npm install –registry=https://registry.npmmirror.com
npm config set registry=https://registry.npmmirror.com
export ELECTRON_MIRROR=http://npm.taobao.org/mirrors/electron/