升级到适用于Cordova Update 7的Apache Tools后,构建失败

时间:2016-03-14 15:19:24

标签: visual-studio-2015 visual-studio-cordova taco

有没有人知道为什么我收到以下错误消息?

我正在尝试使用最新版本的用于Cordova的Apache Tools(7)构建一个空白项目。之前一切正常(直到版本6)。

看起来它与Visual Studio无法安装“vs-tac”模块有关,因为nuget有些失败,尽管我发现它很奇怪。我也尝试重新安装它,卸载并安装以前的版本,但没有任何对我有用,因为同样的原因失败。

谢谢!

1>------ Build started: Project: BlankCordovaApp2, Configuration: Debug Android ------
1>  Your environment has been set up for using Node.js 0.12.2 (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: 1.0.37
1>  ------ Package not currently installed globally.
1>  ------ Installing globally from source package. This could take a few minutes...
1>  Each package is licensed to you by its owner. Microsoft is not responsible for, nor does it grant any licenses to, third-party packages. Some packages may include dependencies which are governed by additional licenses. Follow the package source (feed) URL to determine any dependencies.
1>  npm WARN deprecated graceful-fs@3.0.8: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible.
1>  > edge-cs@0.3.0 install C:\Users\grighetti\AppData\Roaming\npm\node_modules\vs-tac\node_modules\edge\node_modules\edge-cs
1>  > node tools/install.js
1>  Microsoft .NET Development Utility CLR-x86-1.0.0-beta6-12256
1>  Restoring packages for C:\Users\grighetti\AppData\Roaming\npm\node_modules\vs-tac\node_modules\edge\node_modules\edge-cs\lib\edge-cs-coreclr\project.json
1>    CACHE https://www.nuget.org/api/v2/
1>    GET https://www.nuget.org/api/v2/FindPackagesById()?id='Microsoft.CodeAnalysis.CSharp'
1>RUNMDAINSTALL : warning : FindPackagesById: Microsoft.CodeAnalysis.CSharp
1>    Response status code does not indicate success: 401 (Unauthorized).
1>    GET 
1>    GET https://www.nuget.org/api/v2/FindPackagesById()?id='System.Text.RegularExpressions'
1>RUNMDAINSTALL : warning : FindPackagesById: Microsoft.CodeAnalysis.CSharp
1>    Response status code does not indicate success: 401 (Unauthorized).

其他类似的错误消息,然后

1>  ----------
1>  System.Net.Http.HttpRequestException: Response status code does not indicate success: 401 (Unauthorized).
1>     at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
1>     at Microsoft.Framework.PackageManager.Restore.NuGet.HttpSource.<GetAsync>d__8.MoveNext()

1>  ----------
1>  Restore failed
1>  Response status code does not indicate success: 401 (Unauthorized).
1>  NuGet Config files used:
1>      C:\Users\grighetti\AppData\Roaming\NuGet\NuGet.Config
1>  Feeds used:
1>      https://www.nuget.org/api/v2/

0 个答案:

没有答案
相关问题