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

PSRepositories.xml is broken every few months #60

Open
3 tasks done
dominikjeske opened this issue Dec 22, 2023 · 0 comments
Open
3 tasks done

PSRepositories.xml is broken every few months #60

dominikjeske opened this issue Dec 22, 2023 · 0 comments

Comments

@dominikjeske
Copy link

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • Search the existing issues.

Steps to reproduce

It is random - I don't know how to reproduce this. We have this issue so far on Windows Server 2016, Windows 10, Linux Rel and MacOs. On development machines and server agents - we actually have build pipelines to fix this ;(. Only way we have now is to delete PSRepositories.xml.

Expected behavior

PowerShellGet is handling broken PSRepositories.xml automatically or prints better error message with information where to find this file.

Actual behavior

We have error 'Unable to find repository...' and all API's working with repositories are failing

Error details

No response

Environment data

It is happening on many versions from 7.0.* to 7.3.* (7.4 is fresh so we don't know yet)

Version

7.3.10

Visuals

image

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