Set-PSResourcerepository fails on new installation of PS-Core 7.6.7
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- Medio día
- Aptitud para principiantes
- 52/100
Línea de trabajo
The failure is in loading the repository store: the error reports 'Could not find a part of the path' for PSResourceRepository.xml under the user's application data folder on a fresh install. Start from where the store path is built and read, and check whether its parent directory is created before the file is accessed. Reproduce with a clean profile running Set-PSResourceRepository -PSGallery -trusted. Done when that command succeeds on a machine with no existing store, and the related issue #1965 is checked for overlap.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest released version
- Search the existing issues.
Steps to reproduce
This is close to the issue #1965.
On a new install of pwsh on Windows and macOS this Command:
Set-PSResourceRepository -PSGallery -trusted
fails
Expected behavior
PS> Set-PSResourceRepository -PSGallery -trusted
Actual behavior
PS> Set-PSResourceRepository -PSGallery -trusted
`Set-PSResourceRepository: Cannot retrieve the dynamic parameters for the cmdlet. Loading repository store failed: Could not find a part of the path '/Users/username/Library/Application Support/PSResourceget/PSResourceRepository.xml'`
Error details
Environment data
PSVersion: 7.6.7
PSEdition: Core
GitCommitId: 767
OS: Microsoft Windows 10.0.26200
Platform: Win32NT
PSCompatibleVersions: {1.0, 2.0, 3.0, 4.0, ...}
PSRemotingProtocolVersion: 2.4
SerializationVersion: 1.1.0.1
WSManStackVersion: 3.0
Visuals
No response
- Lenguaje dominante
- C#
- Estrellas
- 578
- Forks
- 114
- Merge medio
- 1 d 3 h
- PR fusionados (30 d)
- 5
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de PowerShell/PSResourceGet
-
Create parent directories only after the containment check in InstallHelper.TryExtractToDirectoryAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
PowerShell/PSResourceGet#2056 ·
-
feature_request
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
PowerShell/PSResourceGet#2013 · 3 comentarios ·
-
feature_request Needs-Triage
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
PowerShell/PSResourceGet#2068 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
PowerShell/PSResourceGet#2063 · 5 comentarios ·
-
PSResourceGet 1.3.0-preview2 error when installing AZ ModulePosiblemente ocupada @alerickson la tomó hace 6 días. AbiertoNeeds-Triage
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
PowerShell/PSResourceGet#2061 · 1 comentario · 1 asignado ·
Todos los issues de PowerShell/PSResourceGet
Issues similares
-
area-TableView bug needs-triage team-Controls
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
microsoft/microsoft-ui-xaml#12351 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
AudioClient and ImageClient file path overloads send the full local path as the multipart file namePosiblemente ocupada @sebxt la tomó hoy. Abiertoarea: audio area: images feature-request
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
openai/openai-dotnet#1453 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
Los mantenedores suelen responder en 1 día
-
needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
elsa-workflows/elsa-foundation#3130 ·
Los mantenedores suelen responder en 1 día
-
遥测历史查询始终返回 HTTP 400,页面静默无结果Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100