tag:help.appveyor.com,2012-11-13:/discussions/problems/28487-builds-failing-no-match-was-found-for-the-specified-search-criteria-and-module-name-invokebuildAppVeyor: Discussion 2020-10-30T16:30:29Ztag:help.appveyor.com,2012-11-13:Comment/487848782020-10-30T15:42:57Z2020-10-30T15:42:59ZBuilds failing - No match was found for the specified search criteria and module name 'InvokeBuild'<div><p>Builds are failing on the following using the VS 2017 build runner:</p>
<p>"Unable to resolve package source '<a href="https://www.powershellgallery.com/api/v2">https://www.powershellgallery.com/api/v2</a>'. 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.<br>
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\PSModule.psm1:9505 char:21<br>
+ ... $null = PackageManagement\Install-Package @PSBoundParameters + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (Microsoft.Power....InstallPackage:InstallPackage) [Install-Package], Exception + FullyQualifiedErrorId : NoMatchFoundForCriteria,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage</p>
<p>cinst vswhere -y | Out-File -Append .\build\logs\appveyor.yml.log<br>
Install-Product node $env:nodejs_version | Out-File -Append .\build\logs\appveyor.yml.log<br>
"</p></div>Andy Btag:help.appveyor.com,2012-11-13:Comment/487848782020-10-30T15:49:47Z2020-10-30T15:49:49ZBuilds failing - No match was found for the specified search criteria and module name 'InvokeBuild'<div><p>Hi,<br>
We are getting the same for our builds as well.<br>
Any news?<br>
Thanks</p></div>Ashley Btag:help.appveyor.com,2012-11-13:Comment/487848782020-10-30T15:51:18Z2020-10-30T15:51:18ZBuilds failing - No match was found for the specified search criteria and module name 'InvokeBuild'<div><p>Well, I can't open <a href="https://www.powershellgallery.com/api/v2">https://www.powershellgallery.com/api/v2</a>, nor <a href="https://www.powershellgallery.com">https://www.powershellgallery.com</a> locally either.</p>
<p><a href="https://downforeveryoneorjustme.com/powershellgallery.com?www=1">https://downforeveryoneorjustme.com/powershellgallery.com?www=1</a></p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/487848782020-10-30T15:53:50Z2020-10-30T15:54:05ZBuilds failing - No match was found for the specified search criteria and module name 'InvokeBuild'<div><p>They don't have a status page, but looks like it's been down for a while: <a href="https://twitter.com/search?q=powershellgallery&src=typed_query&f=live">https://twitter.com/search?q=powershellgallery&src=typed_query&...</a></p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/487848782020-10-30T15:57:38Z2020-10-30T15:57:38ZBuilds failing - No match was found for the specified search criteria and module name 'InvokeBuild'<div><p>Come on Microsoft...</p></div>Andy Btag:help.appveyor.com,2012-11-13:Comment/487848782020-10-30T16:30:28Z2020-10-30T16:30:29ZBuilds failing - No match was found for the specified search criteria and module name 'InvokeBuild'<div><p>I think we can close this, as its not specific to AppVeyor.</p>
<p>I'll track the issue over here:<br>
<a href="https://github.com/PowerShell/PowerShellGallery/issues/135">https://github.com/PowerShell/PowerShellGallery/issues/135</a></p></div>Andy B