copilot-cli
copilot-cli copied to clipboard
Stuck at "Waiting for device code" on Windows in PWSH and WSL
Describe the bug
No response
Affected version
Version 0.0.327 · Commit 0cbec74
Steps to reproduce the behavior
Ran copilot in the PWSH and WSL bash but see the same issue. I am behind a corporate network but have the relevant proxy setup. For reference, gh cli works great in both shells
Expected behavior
No response
Additional context
Logs show this line: 2025-09-26T18:54:26.009Z [ERROR] Error checking for updates: TypeError: fetch failed
Terminal: Windows Terminal
Shell: PWSH, WSL bash
OS: Windows
Looks like I can simply set this $env:NODE_USE_ENV_PROXY = "1" with Node v24 and it works!