JustinGrote / JustinGrote/ModuleFast
Add-DestinationToPSModulePath sometimes fails on first init
- Vorherrschende Sprache
- C#
- Sterne
- 151
- Forks
- 11
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung

EDIT: This appears to be an issue in the profile update code.
```
PS D:\MicrosoftMvp> $error[0]
Test-Path: Value cannot be null. (Parameter 'The provided Path argument was null or an empty collection.')
PS D:\MicrosoftMvp> $error[0].ScriptStackTrace
at Add-DestinationToPSModulePath, C:\Users\JGrote\Documents\PowerShell\Modules\ModuleFast\0.2.0\ModuleFast.psm1: line 1708
at Install-ModuleFast, C:\Users\JGrote\Documents\PowerShell\Modules\ModuleFast\0.2.0\ModuleFast.psm1: line 302
at , : line 1
```
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Start at Add-DestinationToPSModulePath in ModuleFast.psm1, using the reported line 1708 and the profile update code context. Reproduce the first-initialization path that produces the null-path Test-Path error; done when first initialization completes without that error.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- powershell
- Bereich
- tooling
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 38/100