github / github/copilot-cli

After upgrading GitHub Copilot CLI to `v1.0.46`, the CLI is no longer usable in my environment.

Đang mở
#3,281 6 bình luận 1 reaction 0 người được giao Xem trên GitHub
area:installation area:mcp
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

### Describe the bug

It starts, prints the normal startup banner, but then immediately reports:

✗ Failed to start MCP Servers: Error: Cannot find native binding. npm has a bug related to optional dependencies (https://github.com/npm/cli/issues/4828). Please try `npm i` again after removing both package-lock.json and node_modules directory.

### Affected version

GitHub Copilot CLI 1.0.46.

### Steps to reproduce the behavior

Version
GitHub Copilot CLI: 1.0.46
Previous version that worked: older versions / JS entry path still works in my environment
Installed globally with npm

Environment
OS: Linux
Architecture: x64
Node: v24.14.0
npm: installed globally with Node 24
glibc on system is relatively old

### Expected behavior

✗ Failed to start MCP Servers: Error: Cannot find native binding. npm has a bug related to optional dependencies (https://github.com/npm/cli/issues/4828). Please try `npm i` again after removing both package-lock.json and node_modules directory.

### Additional context

_No response_

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.