Skip to content

モジュールフォルダにゴミファイルが残っているとpspm installに失敗する #71

@mkht

Description

@mkht

再現手順

F:\> New-Item F:\Modules\Pester\4.4.0 -Force
F:\> pspm install Pester
Modules will be saved in "F:\Modules"
"1" 個の引数を指定して "IsSatisfied" を呼び出し中に例外が発生しました: "値を Null にすることはできません。"
発生場所 C:\Program Files\WindowsPowerShell\Modules\pspm\functions\getModule.ps1:281 文字:17
+ ...            if ($SemVerRange.IsSatisfied($moduleInfo.ModuleVersion)) {
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : ArgumentNullException

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions