github / github/copilot-cli

Copilot CLI in windows fails to start without any output

未关闭
#3,351 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area:installation area:platform-windows
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

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

贡献指南

打开贡献指南

调研方向

首先,在使用 `/update` 后通过 `copilot` 命令重现 Windows 失败,然后将其与直接运行 `node \"C:\\Users\\###AppData\\Roaming\\npm\\node_modules\\@github\\copilot\\index.js\"` 进行比较。跟踪命令的解析方式,并将完成定义为 `copilot` 命令正常启动并产生预期输出。

由索引模型根据 Issue 内容生成。

评估

技术栈
node.js, shell
领域
cli, operating-systems
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
需要澄清
新手友好度
38/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。