Visual Studio 2013 Cordova RemoteBuild failed (Cannot POST /build/tasks?command=build&vcordova=4.3.1&)

假如想象 提交于 2019-12-14 02:45:24

问题


Whenever I try to run my Cordova app from Visual Studio 2013 to Mac Simulator, I am facing this error "Cannot POST /build/tasks?command=build&vcordova=4.3.1&cfg=debug 404" in Mac terminal as well in Visual Studio.

I am facing this error even if I am building/rebuilding my VS. It seems like it tries to connect to Mac machine but due to some reason it could not able to do so and shows this message/error on Mac as well in VS.

On Mac Machine I have run the command vcremote --secure false which in turn has made remote build server listening on port 3030. I have also setup Remote Agent Configuration in VS.

Because I am newbie so It getting really hard for me to figure what is going wrong here? Please advice me. Thanks..


回答1:


I had this exact same error with VS2013 and posted here:

VS2013 Cordova iOS Remotebuild Error Cannot POST /build/tasks?command=build&vcordova=4.3.1&cfg=debug

I solved it by upgrading to Visual Studio 2015. Then it just worked.



来源:https://stackoverflow.com/questions/34614658/visual-studio-2013-cordova-remotebuild-failed-cannot-post-build-taskscommand

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!