用这个命令安装: ELECTRON_MIRROR=https://npm.taobao.org/mirrors/electron/ npm i -g electron --registry=https://registry.npm.taobao.org