You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
I installed PowerShell 7 and have troubles with PowerShellGet, there seems to be an hen-before-the-egg-problem.
Is there anything which can be done to RESET the whole OneGet/PowerShellGet experience?
Adding informations from $PSVersionTable
The text was updated successfully, but these errors were encountered: