问题
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