Macaca Macaca 的 443 端口是不是被关闭了?

sonics · 2017年05月17日 · 541 次阅读

新人,今天刚尝试运行 Macaca 样例,报错提示 macaca-electron 和 macaca-ios 没有安装,遂安装 macaca-electron,又报错,连 52.216.227.56:443 超时,是不是 443 端口被关了?有没有其他办法安装?

错误如下:

C:\sample-nodejs-master>npm install macaca-electron -g

electron-prebuilt@0.37.8 postinstall ****\npm\node_modules\macaca-electron
ctron-prebuilt
node install.js

Downloading electron-v0.37.8-win32-x64.zip
Error: connect ETIMEDOUT 52.216.227.56:443
****\npm\node_modules\macaca-electron\node_modules\electron-prebuilt\install
throw err
^

Error: connect ETIMEDOUT 52.216.227.56:443
at Object.exports._errnoException (util.js:1018:11)
at exports._exceptionWithHostPort (util.js:1041:20)
at TCPConnectWrap.afterConnect as oncomplete
****\npm
`-- (empty)

npm ERR! Windows_NT 6.1.7601
npm ERR! argv "*\nodejs\node.exe" "*\nodejs\node_modules\npm\bin\
tall" "macaca-electron" "-g"
npm ERR! node v6.10.3
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE

npm ERR! electron-prebuilt@0.37.8 postinstall: node install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the electron-prebuilt@0.37.8 postinstall script 'node install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the electron-prebuilt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs electron-prebuilt
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls electron-prebuilt
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! C:\sample-nodejs-master\npm-debug.log
npm ERR! code 1

暂无回复。
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册