locked
Unable to install nuget RRS feed

  • Question

  • Hi,

    I keep getting this error when run the cmdlet: Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force

    (Do have internet connection-Use Admin account to run PS but connect to proxy using an account that has internet access.). What could be the issue? Please shed some lights.

    WARNING: Unable to download from URI 'https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409' to ''.
    WARNING: Unable to download the list of available providers. Check your internet connection.
    Install-PackageProvider : No match was found for the specified search criteria for the provider 'NuGet'. The package provider requires 'PackageManagement' and
    'Provider' tags. Please check if the specified package has the tags.
    At line:1 char:1
    + Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidArgument: (Microsoft.Power...PackageProvider:InstallPackageProvider) [Install-PackageProvider], Exception
        + FullyQualifiedErrorId : NoMatchFoundForProvider,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackageProvider

    > Tried cmdlet: Install-PackageProvider -Name NuGet -Force

    but getting error of no internet connection.!!?!? Not sure why.

    Is there away to install nuget min version 2.8.5.201 (in order to install AzureRM) in offline mode? 

    Friday, June 22, 2018 6:10 AM

All replies