github / github/copilot-cli

Error: Native addon "runtime" not found for win32-arm64

未關閉
#3,306 2 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
area:installation area:platform-windows
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

### Describe the bug

I updated Copilot CLI (running on Windows, arm64 architecture), and started getting this error every time I interact with it:

`Error: Native addon "runtime" not found for win32-arm64`

I have it installed through winget. Repeated attempts to uninstall / reinstall does not resolve it. Restarting my PC does not resolve it. When I force winget to use the x64 version of Copilot instead, it works though.

### Affected version

v1.0.48-0

### Steps to reproduce the behavior

1. Run `winget install GitHub.Copilot --architecture arm64`
2. Run `copilot`
3. Type anything in the console
4. Copilot responds with the error message above.
Note: if I switch the install command above to architecture x64, Copilot still works, so it seems to be an arm64 issue.

### Expected behavior

Copilot should work with arm64-based architectures.

### Additional context

_No response_

貢獻指南

開啟貢獻指南

研究方向

先使用 `winget install GitHub.Copilot --architecture arm64` 重現失敗,然後在 Windows arm64 系統上執行 `copilot`,並與 x64 安裝進行比較。追蹤 `runtime` addon 的原生 addon 載入路徑;當 arm64 安裝能夠啟動並回應,且不出現找不到錯誤時,即表示完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
shell
領域
cli, operating-systems
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
冷清
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。