Trying to install pnp.Powershell module #608
Unanswered
jasonralston100
asked this question in
Q&A
Replies: 1 comment
-
Hi Jason |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When I run the following command I get the popup that NuGet package manager 2.8.5.201 or higher needs to be installed would you like to do it. Selecting Yes produces the following error.
Install-Module pnp.powershell
PS C:\WINDOWS\system32> Install-Module pnp.powershell
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.
PackageManagement\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 C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:7468 char:21
PackageManagement\Import-PackageProvider : No match was found for the specified search criteria and provider name 'NuGet'. Try 'Get-PackageProvider -ListAvailable' to
see if the provider exists on the system.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:7474 char:21
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.
PackageManagement\Get-PackageProvider : Unable to find package provider 'NuGet'. It may not be imported yet. Try 'Get-PackageProvider -ListAvailable'.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:7478 char:30
... tProvider = PackageManagement\Get-PackageProvider -Name $script:NuGet ...
Install-Module : NuGet provider is required to interact with NuGet-based repositories. Please ensure that '2.8.5.201' or a newer version of NuGet provider is installed.
At line:1 char:1
FYI... While I'm using a wireless connection my 5G connection to my Router is running at 50 Mbps or higher at all times. My bandwidth is 1 gig. I can't do the install at 3 AM when all other devices are turned off etc. Not a bandwidth or local problem because I have the same problem at work as a Senior System Analyst 7 for the government.
I've added the suggested TLS registry keys that multiple articles suggest to fix the issue to no avail.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v4.0.30319]
"SchUseStrongCrypto"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.0.30319]
"SchUseStrongCrypto"=dword:00000001
Beta Was this translation helpful? Give feedback.
All reactions