安装命令
npm config set registry https://registry.npm.taobao.org
npm config set ELECTRON_MIRROR https://npm.taobao.org/mirrors/electron/
npm install electron -g
安装命令
npm config set registry https://registry.npm.taobao.org
npm config set ELECTRON_MIRROR https://npm.taobao.org/mirrors/electron/
npm install electron -g