copilot-cli icon indicating copy to clipboard operation
copilot-cli copied to clipboard

File not defined on fresh install

Open 0xNULLDEVx0 opened this issue 1 month ago • 0 comments

Describe the bug

On fresh install of copilot, using the copilot command throws an error. Distrobox Ubuntu 24.

Affected version

No response

Steps to reproduce the behavior

Create an ubuntu Distrobox Install copilot globally Run the copilot command

Expected behavior

A long error message in the copilot index file

Additional context

ReferenceError: File is not defined at file:///usr/local/lib/node_modules/@github/copilot/index.js:2018:243586 at file:///usr/local/lib/node_modules/@github/copilot/index.js:22:500 at file:///usr/local/lib/node_modules/@github/copilot/index.js:2018:249761 at file:///usr/local/lib/node_modules/@github/copilot/index.js:22:500 at file:///usr/local/lib/node_modules/@github/copilot/index.js:2145:2299 at file:///usr/local/lib/node_modules/@github/copilot/index.js:22:500 at file:///usr/local/lib/node_modules/@github/copilot/index.js:2145:9005 at file:///usr/local/lib/node_modules/@github/copilot/index.js:22:500 at file:///usr/local/lib/node_modules/@github/copilot/index.js:2145:28872 at file:///usr/local/lib/node_modules/@github/copilot/index.js:22:500

0xNULLDEVx0 avatar Nov 25 '25 23:11 0xNULLDEVx0