cmd执行:npm config set ELECTRON_MIRROR https://npm.taobao.org/mirrors/electron/
电脑环境变量加(用户变量、系统变量都有效):ELECTRON_MIRROR https://cdn.npm.taobao.org/dist/electron/