install.ps1: A positional parameter cannot be found that accepts argument 'System.Collections.Hashtable' #5895
Unanswered
go-xoxo
asked this question in
Help and Questions
Replies: 1 comment
-
Which app are you installing? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Bug Report
Current Behavior
Running installers that make use of line 1002 of the scoop install script install.ps1
$name = $ .name;
function env_set($manifest, $dir, $global, $arch) {
$env_set = arch_specific 'env_set' $manifest $arch
if ($env_set) {
$env_set | Get-Member -Member NoteProperty | ForEach-Object {
--> $val = format $env_set.$($.name) @{ "dir" = $dir }
env $name $global $val
Set-Content env:$name $val
}
}
}
I get the error A positional parameter cannot be found that accepts argument "System.Collections.Hashtable".The installer does not stop though and says "successfully installed"
Expected Behavior
no error messages during install of packages
Additional context/output
Possible Solution
System details
**Windows version: 11
**OS architecture: 64bit
**PowerShell version: 7.4.0
**Additional software: none
Scoop Configuration
Beta Was this translation helpful? Give feedback.
All reactions