在C:\Users\xx\.npmrc文件中添加electron淘宝镜像
registry=https://registry.npm.taobao.org/
ELECTRON_MIRROR=https://cdn.npm.taobao.org/dist/electron/
ELECTRON_BUILDER_BINARIES_MIRROR=http://npm.taobao.org/mirrors/electron-builder-binaries/
没有这个文件就自己创建一个
在C:\Users\xx\.npmrc文件中添加electron淘宝镜像
registry=https://registry.npm.taobao.org/
ELECTRON_MIRROR=https://cdn.npm.taobao.org/dist/electron/
ELECTRON_BUILDER_BINARIES_MIRROR=http://npm.taobao.org/mirrors/electron-builder-binaries/
没有这个文件就自己创建一个