-
Notifications
You must be signed in to change notification settings - Fork 104
An error when registering the default repository #368
Copy link
Copy link
Closed
Milestone
Description
I needed to set up a proxy server for the default PSGallery repository, and because the proxy configuration part of the Register-PSRepository command, I needed to unregister the repository first:
Unregister-PSRepository -Name PSGallery
Then I tried to register it back (removed the proxy configurationsince it doesn't have any impact on the issue):
Register-PSRepository -Default
The repository has actually been registered, but the command produced the following error:
Value cannot be null.
Parameter name: input
According the documentation, there're no mandatory parameters when using the command with the -Default switch (and even that one is optional).
Powershell version: 7.1.3
PowerShellGet version: 2.2.5
Reactions are currently unavailable