Closed houfukude closed 3 months ago
Some historical versions of the software have not compiled the arm version of the installation package. such as : https://nodejs.org/dist/v17.0.0/
AND
The device I use scoop install on is not an arm device
scoop install
PS C:\Users\houfukude> scoop install nodejs-lts@17.0.0 WARN Given version (17.0.0) does not match manifest (20.15.0) WARN Attempting to generate manifest for 'nodejs-lts' (17.0.0) Autoupdating nodejs-lts Searching hash for node-v17.0.0-win-x86.7z in https://nodejs.org/dist/v17.0.0/SHASUMS256.txt.asc Found: cf5ca9d60f2b39518f4503675a4f259b67f81a6148bb6307e04be60f91c5e071 using Extract Mode Searching hash for node-v17.0.0-win-x64.7z in https://nodejs.org/dist/v17.0.0/SHASUMS256.txt.asc Found: 053a6e7e34ae791b25a691fded34bcd3259adb519cea8873b74c93eb6f57c667 using Extract Mode Searching hash for node-v17.0.0-win-arm64.7z in https://nodejs.org/dist/v17.0.0/SHASUMS256.txt.asc Could not find hash in https://nodejs.org/dist/v17.0.0/SHASUMS256.txt.asc Downloading node-v17.0.0-win-arm64.7z to compute hashes! 远程服务器返回错误: (404) 未找到。 URL https://nodejs.org/dist/v17.0.0/node-v17.0.0-win-arm64.7z is not valid Could not install nodejs-lts@17.0.0 Select-CurrentVersion : 无法将参数绑定到参数“AppName”,因为该参数为空字符串。 所在位置 C:\Users\houfukude\scoop\apps\scoop\current\lib\core.ps1:414 字符: 54 + return $null -ne (Select-CurrentVersion -AppName $app -Global:$gl ... + ~~~~ + CategoryInfo : InvalidData: (:) [Select-CurrentVersion],ParameterBindingValidationException + FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAllowed,Select-CurrentVersion 不能对 Null 值表达式调用方法。 所在位置 C:\Users\houfukude\scoop\apps\scoop\current\lib\manifest.ps1:36 字符: 5 + $app = $app.TrimStart('/') + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [],RuntimeException + FullyQualifiedErrorId : InvokeMethodOnNull Test-Path : 无法将参数绑定到参数“Path”,因为该参数为空字符串。 所在位置 C:\Users\houfukude\scoop\apps\scoop\current\lib\manifest.ps1:57 字符: 27 + if (Test-Path $app) { + ~~~~ + CategoryInfo : InvalidData: (:) [Test-Path],ParameterBindingValidationException + FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAllowed,Microsoft.PowerShell.Com mands.TestPathCommand Couldn't find manifest for ''.
PS C:\Users\houfukude> echo $psversiontable Name Value ---- ----- PSVersion 5.1.19041.4522 PSEdition Desktop PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} BuildVersion 10.0.19041.4522 CLRVersion 4.0.30319.42000 WSManStackVersion 3.0 PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1
Looks like I posted to the wrong place.
Description
Some historical versions of the software have not compiled the arm version of the installation package. such as : https://nodejs.org/dist/v17.0.0/
AND
The device I use
scoop install
on is not an arm deviceInstallation Logs
PowerShell Context
Additional Information
Possible Solution