【发布时间】:2015-07-24 19:43:12
【问题描述】:
我在 Visual Studio 2015 中使用新的 Cordova 工具。mac 构建服务器正在运行 remotebuild 代理。我可以使用模拟器或成功部署到 iPhone 5 设备上。
当我尝试部署到 iPhone 6 Plus 设备时,remotebuild 代理崩溃并显示此堆栈跟踪:
GET /cordova/build/17124/deploy 404 5053.994 ms - 52
****** Server will shutdown due to uncaught error ******
[Error: Can't set headers after they are sent.]
Error: Can't set headers after they are sent.
at ServerResponse.OutgoingMessage.setHeader (_http_outgoing.js:335:11)
at ServerResponse.header (/usr/local/lib/node_modules/remotebuild/node_modules/express/lib/response.js:700:10)
at ServerResponse.send (/usr/local/lib/node_modules/remotebuild/node_modules/express/lib/response.js:154:12)
at ServerResponse.json (/usr/local/lib/node_modules/remotebuild/node_modules/express/lib/response.js:240:15)
at ChildProcess.<anonymous> (/Users/elliot/.taco_home/node_modules/taco-remote-lib/1.0.0/node_modules/taco-remote-lib/ios/ios.js:172:33)
at ChildProcess.emit (events.js:110:17)
at maybeClose (child_process.js:1015:16)
at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
****** Performing server shutdown procedures.
我确定配置文件设置正确。
有其他人经历过这种情况并找到解决方法吗?
【问题讨论】:
-
我遇到了同样的错误。你能解决这个问题吗?
标签: ios cordova visual-studio-cordova