正如@DeanB_Develop上面所建議的那樣,我查看了輸出。對於興趣如下;
All packages are already installed and there is nothing to restore.
NuGet package restore finished.
1>------ Build started: Project: BlankCordovaApp2, Configuration: Debug Android ------
1> Your environment has been set up for using Node.js 0.10.35 (x64) and npm.
1> ------ Ensuring correct global installation of package from source package directory: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\ApacheCordovaTools\packages\vs-tac
1> ------ Name from source package.json: vs-tac
1> ------ Version from source package.json: 0.2.19
1> ------ Package not currently installed globally.
1> ------ Installing globally from source package. This could take a few minutes...
1> npm WARN engine [email protected]: wanted: {"node":">=0.6","npm":"1"} (current: {"node":"0.10.35","npm":"2.1.5"})
1> C:\Program Files (x86)\nodejs\vs-tac-cli -> C:\Program Files (x86)\nodejs\node_modules\vs-tac\vs-tac-cli.cmd
1> [email protected] C:\Program Files (x86)\nodejs\node_modules\vs-tac
1> ├── [email protected]
1> ├── [email protected]
1> ├── [email protected]
1> ├── [email protected]
1> ├── [email protected]
1> ├── [email protected]
1> ├── [email protected] ([email protected], [email protected])
1> ├── [email protected] ([email protected])
1> ├── [email protected] ([email protected], [email protected])
1> ├── [email protected] ([email protected], [email protected])
1> ├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
1> ├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
1> └── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
1> ------ npm install failed. Exit code: 0
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========
我唯一能看到的是一個npm WARN,但不知道這是否導致問題。
所以,我訪問了以下頁谷歌搜索後,顯示可independatly https://msdn.microsoft.com/en-au/library/dn771551.aspx
那突出的是「蟻族」的唯一的事情要安裝的工具。我現在安裝了它,但它的WinAnt居住在我的程序文件中。我確實選擇了安裝cordova工具時的選項,所以不知道發生了什麼事情 - 也許我的winant嚇到它了...
我從該頁下載了該版本,並將其提取到一個文件夾c:\ apache -ant-XXX
然後更新ANT_HOME環境變量以指向新文件夾而不是WinAnt,並且還將新文件夾路徑添加到系統路徑。
然後再次加載Visual Studio並運行該項目。
耶它的工作原理,現在就開始做一些實際的工作:)。
是的安裝所有這些選項..乾杯的答覆..病態進行谷歌搜索:)。 – Madmartigan
在安裝過程中,您確定在此屏幕上選擇了APACHE ANT嗎? –
是啊,很確定,但我知道犯錯誤...感謝評論的職位。乾杯.. – Madmartigan