解决方法:将electron下载地址指向taobao镜像
npm config set electron_mirror "https://npm.taobao.org/mirrors/electron/"