Builds failing - No match was found for the specified search criteria and module name 'InvokeBuild'

Andy B's Avatar

Andy B

30 Oct, 2020 03:42 PM

Builds are failing on the following using the VS 2017 build runner:

"Unable to resolve package source 'https://www.powershellgallery.com/api/v2'.
PackageManagement\Install-Package : No match was found for the specified search criteria and module name 'InvokeBuild'. Try Get-PSRepository to see all available registered module repositories.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\PSModule.psm1:9505 char:21
+ ... $null = PackageManagement\Install-Package @PSBoundParameters
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : ObjectNotFound: (Microsoft.Power....InstallPackage:InstallPackage) [Install-Package], Exception
    + FullyQualifiedErrorId : NoMatchFoundForCriteria,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage
 
cinst vswhere -y | Out-File -Append .\build\logs\appveyor.yml.log
Install-Product node $env:nodejs_version | Out-File -Append .\build\logs\appveyor.yml.log
"

  1. 1 Posted by Ashley B on 30 Oct, 2020 03:49 PM

    Ashley B's Avatar

    Hi,
    We are getting the same for our builds as well.
    Any news?
    Thanks

  2. Support Staff 2 Posted by Feodor Fitsner on 30 Oct, 2020 03:51 PM

    Feodor Fitsner's Avatar
  3. Support Staff 3 Posted by Feodor Fitsner on 30 Oct, 2020 03:53 PM

    Feodor Fitsner's Avatar

    They don't have a status page, but looks like it's been down for a while: https://twitter.com/search?q=powershellgallery&src=typed_query&...

  4. 4 Posted by Andy B on 30 Oct, 2020 03:57 PM

    Andy B's Avatar

    Come on Microsoft...

  5. 5 Posted by Andy B on 30 Oct, 2020 04:30 PM

    Andy B's Avatar

    I think we can close this, as its not specific to AppVeyor.

    I'll track the issue over here:
    https://github.com/PowerShell/PowerShellGallery/issues/135

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac