github / github/copilot-cli

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

Ouverte
#3,306 2 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
area:installation area:platform-windows
Langage dominant
Shell
Étoiles
11.2k
Forks
1.9k
Merge moyen
14 h 16 min
PR mergées (30 j)
6

Description

### 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_

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Start by reproducing the failure with `winget install GitHub.Copilot --architecture arm64`, then run `copilot` on a Windows arm64 system and compare it with the x64 installation. Trace the native addon loading path for the `runtime` addon; done means the arm64 installation starts and responds without the not-found error.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
shell
Domaine
cli, operating-systems
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
Calme
Clarté
Plutôt claire
Accessibilité débutants
48/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.