PSResourceGet 1.3.0-preview2 error when installing AZ Module
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 55/100
Piste de recherche
Start by reproducing the reported failure with Install-PSResource -Name AZ -Scope CurrentUser -Repository PSGallery on PSResourceGet 1.3.0-preview2, then compare with 1.2.0 as the issue reports. Trace the Install-PSResource failure path; the issue does not identify a source file or test. Done means the AZ module installs without error in the reported environments.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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
When using the Microsoft.PowerShell.PSResourceGet 1.3.0-preview2 i've got an error when installing the AZ 16.4.0 PowerShell Module in PowerShell 5.1 and 7.6.6
Install-PSResource -Name AZ -Scope CurrentUser -Repository PSGallery
Works fine in Microsoft.PowerShell.PSResourceGet 1.2.0
Expected behavior
Install-PSResource without error
Actual behavior
`Install-PSResource -Name AZ -Scope CurrentUser -Repository PSGallery` throws an error
Error details
get-error
Exception :
Type : Microsoft.PowerShell.PSResourceGet.UtilClasses.ResourceNotFoundException
Message : Package(s) 'AZ' could not be installed from repository 'PSGallery'.
HResult : -2146233088
TargetObject : Microsoft.PowerShell.PSResourceGet.Cmdlets.InstallPSResource
CategoryInfo : InvalidData: (Microsoft.PowerShel…s.InstallPSResource:InstallPSResource) [Install-PSResource],
ResourceNotFoundException
FullyQualifiedErrorId : InstallPackageFailure,Microsoft.PowerShell.PSResourceGet.Cmdlets.InstallPSResource
InvocationInfo :
MyCommand : Install-PSResource
ScriptLineNumber : 1
OffsetInLine : 1
HistoryId : 3
Line : Install-PSResource -Name AZ -Scope CurrentUser -Repository PSGallery
Statement : Install-PSResource -Name AZ -Scope CurrentUser -Repository PSGallery
PositionMessage : At line:1 char:1
+ Install-PSResource -Name AZ -Scope CurrentUser -Repository PSGallery
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
InvocationName : Install-PSResource
CommandOrigin : Internal
ScriptStackTrace : at <ScriptBlock>, <No file>: line 1
PipelineIterationInfo :
0
1
Environment data
Get-InstalledPSResource -name Microsoft.PowerShell.PSResourceGet -Scope CurrentUser
Name Version Prerelease Repository Description
---- ------- ---------- ---------- -----------
Microsoft.PowerShell.PSResourceGet 1.3.0 preview2 PSGallery PowerShell module with commands for discovering, inst…
PS C:\> $PSVersionTable
Name Value
---- -----
PSVersion 7.6.6
PSEdition Core
GitCommitId 7.6.6
OS Microsoft Windows 10.0.26300
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
- Langage dominant
- C#
- Étoiles
- 578
- Forks
- 114
- Merge moyen
- 14 h 27 min
- PR mergées (30 j)
- 7
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de PowerShell/PSResourceGet
-
Create parent directories only after the containment check in InstallHelper.TryExtractToDirectoryOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
PowerShell/PSResourceGet#2056 ·
Les mainteneurs répondent en général sous 1 jour
-
feature_request
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
PowerShell/PSResourceGet#2013 · 3 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
Needs-Triage
Difficulté 4/5 3-5 jours Accessibilité débutants 48/100
PowerShell/PSResourceGet#2063 ·
Les mainteneurs répondent en général sous 1 jour
-
Needs-Triage
Difficulté 3/5 1-2 jours Accessibilité débutants 55/100
PowerShell/PSResourceGet#2060 ·
Les mainteneurs répondent en général sous 1 jour
-
Needs-Triage
Difficulté 3/5 1-2 jours Accessibilité débutants 68/100
PowerShell/PSResourceGet#2059 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de PowerShell/PSResourceGet
Issues similaires
-
[i18n] 安装实例完成后的成功提示未正确本地化Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
PCL-Community/PCL-CE#3658 ·
Les mainteneurs répondent en général sous 1 jour
-
Deploy & Patch-issues opprettes ikke: create-pnd-issues.yml har feilet hver uke siden 2025-09-08Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
Altinn/altinn-auth#4359 ·
Les mainteneurs répondent en général sous 1 jour
-
アプリ: チャット 優先: 中 提案
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
yksr-melt/Meltype#243 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Workflows: a workflow stored with null conditions is skipped with an exception instead of runOuvertebug core
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
Les mainteneurs répondent en général sous 1 jour
-
type/automation type/tech-debt
Difficulté 1/5 Moins d'une heure Accessibilité débutants 72/100
Les mainteneurs répondent en général sous 1 jour