dylanaraps / neofetch

🖼️ A command-line system information tool written in bash 3.2+
MIT License
21.93k stars 1.76k forks source link

Windows 10 Install Failure | "Cannot Bind argument to parameter 'Path'" #2223

Closed Wulf-Steppen closed 1 year ago

Wulf-Steppen commented 1 year ago

Description

Following the install instructions for windows I first installed scoop and from a non-admin PS session I ran 'scoop install neofetch' and received the following error:

ForEach-Object : Cannot bind argument to parameter 'Path' because it is null.
At C:\Users\Hush\scoop\apps\scoop\current\lib\install.ps1:856 char:46
+     $shims | Where-Object { $_ -ne $null } | ForEach-Object {
+                                              ~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [ForEach-Object], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.ForEachObje
   ctCommand

Neofetch version

7.1.0

Screenshot

image

Config file

Verbose log

  1. Run neofetch -vv 2> neofetchlog
  2. Upload the contents of neofetchlog to pastebin, gist or equivalent.
Wulf-Steppen commented 1 year ago