Electron安装报错RequestError: socket hang up的解决方法

访问网络失败

- ------ -

进入 .npmc 文件,添加下面代码

-----------------------------------------
无论刮风还是下雨,太阳照常升起。