PSResourceGet 1.3.0-preview2 error when installing AZ Module
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 55/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- C#
- Stelle
- 578
- Fork
- 114
- Merge medio
- 14h 27m
- PR unite (30g)
- 7
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di PowerShell/PSResourceGet
-
Create parent directories only after the containment check in InstallHelper.TryExtractToDirectoryAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
PowerShell/PSResourceGet#2056 ·
I maintainer di solito rispondono entro 1 giorno
-
feature_request
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
PowerShell/PSResourceGet#2013 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Needs-Triage
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
PowerShell/PSResourceGet#2063 ·
I maintainer di solito rispondono entro 1 giorno
-
Needs-Triage
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
PowerShell/PSResourceGet#2060 ·
I maintainer di solito rispondono entro 1 giorno
-
Needs-Triage
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
PowerShell/PSResourceGet#2059 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di PowerShell/PSResourceGet
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
Esri/calcite-dotnet-toolkit#30 · 1 reazione ·
-
VideoViewer: rotated (portrait phone) videos shown sideways when system decimal separator is a commaAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
security
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
MorganHacks/Arctic#182 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Volodymyr-Petrunin/Bankomaten#45 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
thekid/inotify-win#45 ·