github / github/copilot-cli

Copilot could not work on Ubuntu 18.04 LTS, version `GLIBC_2.28' not found

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

描述

### Describe the bug

copilot could not work on my machine
OS: Ubuntu 18.04 LTS
nodejs: v22.20.0
-> copilot $ copilot --version
/home/xxxxxx/.opt/node-v22.20.0-linux-x64/lib/node_modules/@github/copilot/node_modules/@github/copilot-linux-x64/copilot: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /home/xxxxxx/.opt/node-v22.20.0-linux-x64/lib/node_modules/@github/copilot/node_modules/@github/copilot-linux-x64/copilot)

### Affected version

v1.0.3

### Steps to reproduce the behavior

1. npm install -g @github/copilot
2. copilot

### Expected behavior

-> copilot $ copilot --version
(node:22068) ExperimentalWarning: SQLite is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
GitHub Copilot CLI 1.0.3.
Run 'copilot update' to check for updates.

### Additional context

I tried running the following command to reinstall copilot, and it worked normally.
```sh
npm uninstall -g copilot
npm install -g copilot
```
But please note, I installed **copilot**, not **@github/copilot**.
It seems like **copilot** is just a wrapper for **@github/copilot**. I'm not sure why this is the case, but it seems it can run on my machine (in a somewhat odd way).
May I ask:
- Is the GLIBC version dependency mandatory?
- What are the differences between installing copilot and installing @github/copilot in terms of how they run?

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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