【发布时间】:2016-11-13 14:22:24
【问题描述】:
尝试在我的 Windows PC + Mac 设置上启动和运行 Ionic。我昨晚浏览了iOS remotebuild setup guide,实际上能够在我的 Mac 上的 iOS 模拟器上构建和运行侧面菜单模板应用程序。今天早上我又试了一次,不断得到:
Error: An error occurred uploading to the build server https://mymac.local:3000/cordova: Error: connect ETIMEDOUT
通过搜索,似乎遇到类似问题的每个人都是由于代理设置,但我没有使用代理,并且昨晚它在没有任何额外配置的情况下工作。
我尝试过的事情:
- 生成带有 remotebuild 证书的新证书
我总是在 mac 终端上看到的每个证书:
GET /certs/xxxxxx 200 xx.xxx ms - 4250
GET /modules/taco-remote 200 xx.xxx ms -7
所以这似乎不是问题
- 重新启动远程构建服务器
- 在远程构建服务器上使用不同的端口
- 重新启动我的 Mac
- 重新启动 Visual Studio
- 重新启动我的 Windows 电脑
- 开始一个新的 Ionic 项目
- 非安全 (http) 模式
我可以在浏览器中导航到http://mymac.local:3000,然后我看到了:
Remote build Express server open for business on port 3000
我也浏览了troubleshooting guide,但没有什么与我所经历的相符,这就是我在这里发帖的原因。
【问题讨论】:
标签: ionic-framework visual-studio-cordova