装 4.1.3 版本时出现错误,老师能看出来是哪里的错吗,谢谢
来源:4-5 展示添加的文件列表

nocilantro
2019-11-03
electron@4.2.12 postinstall /Users/nocilantro/electron-quick-start/node_modules/electron
node install.js
Downloading tmp-6972-0-electron-v4.2.12-darwin-x64.zip
Error: connect ECONNREFUSED 0.0.0.0:443
/Users/nocilantro/electron-quick-start/node_modules/electron/install.js:49
throw err
^
Error: connect ECONNREFUSED 0.0.0.0:443
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1054:14) {
errno: ‘ECONNREFUSED’,
code: ‘ECONNREFUSED’,
syscall: ‘connect’,
address: ‘0.0.0.0’,
port: 443
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! electron@4.2.12 postinstall: node install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the electron@4.2.12 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/nocilantro/.npm/_logs/2019-11-03T02_01_44_206Z-debug.log
2回答
-
张轩
2019-11-06
同学 你好 现在都 7.0.0 了 怎么还安装这么老的版本呢?安装新版本把
00 -
weibo_墨墨墨迹男_0
2019-11-05
尝试切换镜像源 安装 建议安装 6.1.2
00
相似问题