下载在OS X El Capitan中断,因此无法安装cordova

时间:2016-10-23 18:32:58

标签: android macos cordova

我安装了虚拟机OS X el capitain,因为我只需要在虚拟机中(我使用VM WARE WORKSTATION 12x64)我想安装apache cordova和android sdk 但面临以下问题。

1. When I was downloading needed tools like git, nodejs and so on in Safari, the download speed on start is good, but in minute later, it freezes and stops.
2. when I downloaded android sdk, it was difficult to download a file from the SDK manager, I 100 times restarted it.
In log: ` download interrupted read time out`
With the help of God, i thousand times  turning off and turning on sdk manager
i spent day to  download 2gb.

it seems that any thing limits my internet,so Mac can't download
3. In general, when i became installation of Cordoba via terminal ,always stopping occures on this place.
(pic[![error install][1]][1])

http://s019.radikal.ru/i618/1610/6c/2f16f2d32c5a.jpg 问题只是流量一开始是正常的,然后由于某种原因,它减少到零(我不再下载了)。 告诉我

1. How to find out what stops traffic
2. well, or what is alternative install Cordova not using the terminal.

我使用VM Ware工作站12 / I使用不同的操作系统,互联网很好,但只有MAC是一个例外。即使我的所有操作系统都关闭了  我无法理解是什么限制了我的流量。

1 个答案:

答案 0 :(得分:0)

原因是ssl被激活了 我禁用了ssl和cordova安装

$ sudo npm config set registry http://registry.npmjs.org/

然后是我的代理

npm config set proxy "http://username:password@proxy_hostname:proxy_port"