gpt4 book ai didi

ios - Visual Studio Cordova iOS 构建服务器设置在为build设置远程代理时失败

转载 作者:行者123 更新时间:2023-11-29 12:43:47 25 4
gpt4 key购买 nike

我已经按照本文档 http://go.microsoft.com/fwlink/?LinkID=397716 安装了所有必需的软件

并在我的 Mac 上成功安装了 vs-mda-remote。

尝试运行此命令时:vs-mda-remote --buildDir。

系统提示:-bash: vs-mda-remote : command not found

我尝试关闭终端,甚至重新启动 Mac,问题仍然存在。

更新

cd 进入 vs-mda-remote 并运行:bin/vs-mda-remote --buildDir xxx 对我有用。

但是,当我尝试使用 vs-mda-remote 测试验证 Agent 时,出现错误

BP13s-MacBook-Pro-3:vs-mda-remote mbp13$ bin/vs-mda-remote test Server: http://localhost:3000 buildUrl: http://localhost:3000/build/tasks?vcordova=3.4.1-0.1.0&cfg=release&command=build&options=--emulator

TypeError: Cannot read property 'statusCode' of undefined
at Request._callback (/usr/local/share/npm/lib/node_modules/vs-mda-remote/test/selftest.js:64:56)
at self.callback (/usr/local/share/npm/lib/node_modules/vs-mda-remote/node_modules/request/request.js:121:22)
at Request.EventEmitter.emit (events.js:117:20)
at ClientRequest.self.clientErrorHandler (/usr/local/share/npm/lib/node_modules/vs-mda-remote/node_modules/request/request.js:230:10)
at ClientRequest.EventEmitter.emit (events.js:95:17)
at Socket.socketErrorListener (http.js:1547:9)
at Socket.EventEmitter.emit (events.js:95:17)
at net.js:440:14
at process._tickCallback (node.js:419:13)

最佳答案

我见过这个错误:

TypeError: Cannot read property 'statusCode' of undefined

确保您在另一个终端窗口中运行构建代理。

关于ios - Visual Studio Cordova iOS 构建服务器设置在为build设置远程代理时失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24186428/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com