Skip to content

File not defined on fresh installΒ #659

@0xNULLDEVx0

Description

@0xNULLDEVx0

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions