安装Electron时卡在install.js不动的解决方案

修改~/.npmrc 文件,加入如下代码:

registry=https://registry.npm.taobao.org
electron_mirror="https://npm.taobao.org/mirrors/electron/"

该文件可以在:C:\Users\Administrator 目录下面找到

你可能感兴趣的:(安装Electron时卡在install.js不动的解决方案)