github / github/copilot-cli

Copilot CLI in windows fails to start without any output

Ouverte
#3,351 0 commentaires 0 réactions 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 was just able to load copilot cli using the "copilot" command. I had a pending update, which I took using /update. And then the cli has not been loading. The "copilot" command fails to do anything, just returns a 0 exit code.

Image

I tried downgrading to the previous version, but the behavior seems to be the same.

### Update:
Installing copilot cli with npm and then running: node "C:\Users\###AppData\Roaming\npm\node_modules\@github\copilot\index.js" works. But the "copilot" command doesn't work.

### Affected version

_No response_

### Steps to reproduce the behavior

_No response_

### Expected behavior

_No response_

### Additional context

_No response_

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Start by reproducing the Windows failure with the `copilot` command after using `/update`, then compare it with running `node "C:\Users\###AppData\Roaming\npm\node_modules\@github\copilot\index.js"` directly. Trace how the command is resolved and define done as the `copilot` command starting normally and producing its expected output.

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

Évaluation

Stack technique
node.js, shell
Domaine
cli, operating-systems
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
Calme
Clarté
À clarifier
Accessibilité débutants
38/100

Recevez les nouvelles issues par e-mail

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