问题:eletron安装卡在 node install.js 编辑 ~/.npmrc 加入下面内容 此命令直接打开.npmrc文件,然后对其进行修改 npm config edit 加入如下代码: registry=https://registry.npm.taobao.org electron_mirror="https://npm.taobao.org/mirrors/electron/" 然后运行安装命令,问题顺利解决 npm install