Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PowershellGet on PS7 is not registered or registerable #488

Open
glatzert opened this issue Apr 13, 2020 · 0 comments
Open

PowershellGet on PS7 is not registered or registerable #488

glatzert opened this issue Apr 13, 2020 · 0 comments

Comments

@glatzert
Copy link

glatzert commented Apr 13, 2020

I installed PowerShell 7 and have troubles with PowerShellGet, there seems to be an hen-before-the-egg-problem.

Install-Module <someModule>
# triggers nuget install, which fails with 'Unable to find repository with SourceLocation ''. Use Get-PSRepository to see all available'

Get-PSRepostiery
# fails with 'Unable to find module providers (PowerShellGet)'

Get-PackageSource
# fails with 'Unable to find package providers ().'

Get-PackageProvider -ListAvailabel
# is empty

Install-PackageProvider -Name nuget
# fails with 'Unable to find repository with SourceLocation '''.

Register-PackageSource
# fails with unable to find packageProviders

Is there anything which can be done to RESET the whole OneGet/PowerShellGet experience?
Adding informations from $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.0.0
PSEdition                      Core
GitCommitId                    7.0.0
OS                             Microsoft Windows 10.0.18362
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant