Skip to content

Install-SteamCMD fails, Test-Path: Cannot bind argument #103

@suckmyhardware

Description

@suckmyhardware

Describe "Module Bug or Issue"

Installing SteamCMD via Powershell. First installing the SteamPS, which is fine. As soon as I start installing SteamCMD through Powershell it fails.

Context "The Problem"

  • Installing SteamPS
  • Installing SteamPS
  • Installing fails with

Test-Path : Cannot bind argument to parameter 'Path' because it is null.
At C:\Program Files\WindowsPowerShell\Modules\SteamPS\4.1.0\SteamPS.psm1:1275 char:29
if (Test-Path -Path (Get-SteamPath).Executable) {
CategoryInfo : InvalidData: (:) [Test-Path], ParameterBindingValidationException
FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.TestPathCommand

Corresponding line in the SteamPS.psm1:

if (Test-Path -Path (Get-SteamPath).Executable) {

Output of Get-Module:

Get-Module -Name SteamPS -ListAvailable | Select-Object -Property Name, Version

Name Version
SteamPS 4.1.0

Metadata

Metadata

Assignees

Labels

Category-ModulePertaining to the module's functionality itself.Issue-DiscussionLet's talk about it!

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions