install.ps1解析架构异常
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- powershell
- Domain
- cli
Research direction
Start with install.ps1 and inspect the architecture switch that handles raw PowerShell architecture values. Reproduce the installation on Windows 11 ARM64, then verify that the detected architecture resolves to an entry present in the 0.26.0 manifest and no longer reports the platform as missing.
Written by the indexing model from the issue text.
Description
What version of Kimi Code is running?
0.26.0
Which open platform/subscription were you using?
Windows ARM64
Which model were you using?
No response
What platform is your computer?
Windows 11 ARM64
What issue are you seeing?
脚本解析时出现下面的错误:
==> Detected target: win32-arm64 arm64
==> Resolving latest version from https://code.kimi.com/kimi-code/latest
==> Latest version: 0.26.0
==> Fetching manifest https://code.kimi.com/kimi-code/binaries/0.26.0/manifest.json
error: platform win32-arm64 arm64 not found in manifest
查看脚本,应该是powershell默认不区分大小写,所以两个arm64的判断重复了,脚本片段如下:
$arch = switch ($rawArch) {
'X64' { 'x64' }
'X86' { 'x86' }
'Arm64' { 'arm64' }
'ARM64' { 'arm64' }
'AMD64' { 'x64' }
'IA64' { 'ia64' }
default { Die "unsupported architecture: $rawArch" }
}
What steps can reproduce the bug?
在Window 11 ARM版使用powershell脚本安装
What is the expected behavior?
No response
Additional information
No response
- Dominant language
- TypeScript
- Stars
- 7.5k
- Forks
- 1.2k
- Avg merge
- 11h 41m
- Merged PRs (30d)
- 345
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from MoonshotAI/kimi-code
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
MoonshotAI/kimi-code#3947 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
MoonshotAI/kimi-code#3836 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
MoonshotAI/kimi-code#3790 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
MoonshotAI/kimi-code#3755 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
MoonshotAI/kimi-code#3627 ·
All issues in MoonshotAI/kimi-code
Similar issues
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 91/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100