使用的命令:
bash
ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ npm install electron@37.2.3 --save-dev --verbose
可以修改版本,版本查询的地址:github地址