Skip to content

First run experience is... lacking. Cannot find XML #258

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

Closed
Windos opened this issue Sep 16, 2020 · 2 comments · Fixed by #450
Closed

First run experience is... lacking. Cannot find XML #258

Windos opened this issue Sep 16, 2020 · 2 comments · Fixed by #450

Comments

@Windos
Copy link

Windos commented Sep 16, 2020

Testing PowerShellGet 3.0.0-beta10 with CompatPowerShellGet 0.0.2, on both PowerShell 7.0.3 and 7.1.0-preview.7.

First thing I did with the new module was try and install the SecretManagement module.

Install-Module -Name Microsoft.PowerShell.SecretManagement -AllowPrerelease

I'm told Install-Module is deprecated (expected), but then get an error about not finding XML and being told to register a repo.

WARNING: The cmdlet 'Install-Module' is deprecated, please use 'Install-PSResource'.
Install-PSResource: Was not able to successfully find xml. Try running 'Register-PSResourceRepository -PSGallery'

It seems that this error occurs when running any PowerShellGet command, including Get-PSResourceRepository.

As a first run experience with the module and expecting it to "just work", this is jarring. Surley PSGallery should be a default (as I'm sure most users will be using that, and only that... advanced users should be more than capable of removing it if needed?)

@issue-label-bot issue-label-bot bot added the Issue-Bug Something isn't working label Sep 16, 2020
@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.94. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@alerickson
Copy link
Member

Thanks for the feedback! I completely agree with you, we do if it on our short list of things to add and should get this out with the next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants