Visual Studio 2017 iOS Build 无法获取 Cordova [英] Visual Studio 2017 iOS Build Failed to acquire Cordova
问题描述
我正在使用 VS-TACO 构建移动应用程序,并尝试在 iOS 上运行我的构建.
当我尝试在连接到带有远程构建代理的 Mac 的 Windows 主机上为 iOS 构建此应用程序时,我在 Windows 机器上的 Visual Studio 2017 中收到以下错误消息
<块引用>"来自构建服务器的远程构建错误
告诉我是否更好,否则我会指导你.
I am building a mobile app using VS-TACO and I am trying to run my build on iOS.
When I try to build this app for iOS on a Windows host which is connected to a Mac with remotebuild agent, then I get following Error Message in Visual Studio 2017 on Windows Machine
"Remote build error from the build server https://macIpAddress:3000/cordova - Error: Failed to acquire Cordova version 6.3.1. TACO0204: Error installing cordova via npm. Exit Code: 1. See output for details. EShopper"
When i do "npm cordova -v"
on my Mac, i see "5.4.2"
Windows OS: Windows 10 Mac OS Sierra I have given all required user permissions as suggested in taco.visualstudio
Making npm cordova -v
equals npm -v
. It returns the npm's version, not the cordova version.
Cordova has to be installed on your PC(WINDOWS).
Could you do on your PC: cordova -v
?
If nothing is return : npm install -g cordova@6.3.1
or npm install -g cordova@latest
if you want the LATEST version of cordova.
Then you have to tell Visual studio to use the global version of cordova, for that: choose Global Cordova option in Config.xml editor UI.
Tell me if it's better, otherwise i'll guide you.
这篇关于Visual Studio 2017 iOS Build 无法获取 Cordova的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!