程序包的SetSite失败

程序包的SetSite失败

本文介绍了错误:程序包的SetSite失败[ApacheCordovaToolsPackage]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚安装了Visual studio 2015和visual studio cordova工具。

I just installed both Visual studio 2015 and visual studio cordova tools.It wrked fine and i was able to create a project with it.

然后我安装了ion cli,突然我得到错误

I then installed ionic cli, and suddenly i am getting the error

SetSite failed for package [ApacheCordovaToolsPackage]

我试过修复Visual studio和cordova工具无济于事。
任何帮助?

I have tried repairing Visual studio and cordova tools to no avail.Any help?

推荐答案

为我工作。正在重现Google可用性:

The steps in this MSDN forum post worked for me. Reproducing for Googleability:



cd /d "%ProgramData%\Package Cache"
dir vs*exe /s /b



(我发现我的 vs_enterprise.exe C:\ProgramData\Package Cache\ {a60a492e-b5eb-4218-a9e6-f38d18a7dbaf} \vs_enterprise.exe )

(I found my vs_enterprise.exe at C:\ProgramData\Package Cache\{a60a492e-b5eb-4218-a9e6-f38d18a7dbaf}\vs_enterprise.exe)

CD到该路径,例如

cd {a60a492e-b5eb-4218-a9e6-f38d18a7dbaf}

使用选项 / modify / installselectableitems Javascript 执行安装程序, / p>

Execute the installer with the options /modify /installselectableitems Javascript, e.g.,

vs_enterprise.exe /modify /installselectableitems Javascript



然后:

cd C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE
devenv /updateconfiguration
devenv /clearcache

这篇关于错误:程序包的SetSite失败[ApacheCordovaToolsPackage]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-28 19:25