PowerShell / PowerShellGallery

236 stars 65 forks source link

Unable to download package from powershell gallery #291

Open trinishanmukha9 opened 2 months ago

trinishanmukha9 commented 2 months ago

Prerequisites

Steps to reproduce

Install-Module AWSPowerShell -Scope CurrentUser -Force

Expected behavior

module gets installed

Actual behavior

WARNING: Source Location 'https://www.powershellgallery.com/api/v2/package/AWSPowerShell/4.1.642' is not valid.
Install-Package: Package 'AWSPowerShell' failed to download.

Error details

No response

Environment data

n/a

Version

n/a

Visuals

No response

SydneyhSmith commented 2 months ago

@trinishanmukha9 can you run Get-PackageSource and see if PowerShell Gallery is registered?