github / github/copilot-cli

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

Aperta
#3,281 6 commenti 1 reazione 0 assegnatari Vedi su GitHub
area:installation area:mcp
Lingua principale
Shell
Stelle
11.2k
Fork
1.9k
Merge medio
14h 16m
PR unite (30g)
6

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.