Builds failing - No match was found for the specified search criteria and module name 'InvokeBuild'
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
"
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
1 Posted by Ashley B on 30 Oct, 2020 03:49 PM
Hi,
We are getting the same for our builds as well.
Any news?
Thanks
Support Staff 2 Posted by Feodor Fitsner on 30 Oct, 2020 03:51 PM
Well, I can't open https://www.powershellgallery.com/api/v2, nor https://www.powershellgallery.com locally either.
https://downforeveryoneorjustme.com/powershellgallery.com?www=1
Support Staff 3 Posted by Feodor Fitsner on 30 Oct, 2020 03:53 PM
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 Posted by Andy B on 30 Oct, 2020 03:57 PM
Come on Microsoft...
5 Posted by Andy B on 30 Oct, 2020 04:30 PM
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