Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Chocolately build #6189

Closed
Daniel15 opened this issue Aug 1, 2018 · 0 comments
Closed

Fix Chocolately build #6189

Daniel15 opened this issue Aug 1, 2018 · 0 comments
Assignees

Comments

@Daniel15
Copy link
Member

Daniel15 commented Aug 1, 2018

https://build.dan.cx/job/yarn-chocolatey/54/console

WARNING: The specified PackageManagement provider 'NuGet' is not available.
Find-Package : No match was found for the specified search criteria and package name 'Yarn'. Try Get-PackageSource to 
see all available registered package sources.
At C:\Jenkins\workspace\yarn-chocolatey\scripts\build-chocolatey.ps1:28 char:31
+ $latest_chocolatey_version = (Find-Package -Name Yarn).Version
+                               ~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Microsoft.Power...ets.FindPackage:FindPackage) [Find-Package], Exceptio 
   n
    + FullyQualifiedErrorId : NoMatchFoundForCriteria,Microsoft.PowerShell.PackageManagement.Cmdlets.FindPackage

Although, the NuGet PackageManagement provider is available on this server.

Maybe we should just remove its usage from the script, and just use the choco command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant