Skip to content

Copilot cli fails to start without any output when there's a login issue #2184

@PabloZaiden

Description

@PabloZaiden

Describe the bug

From time to time, copilot fails to start, doesn't print anything in the terminal and just exits with a non-zero exit code.

By trial and error, I've found out that re-running copilot login and going through the auth process again, let me start copilot again without issues.

Affected version

GitHub Copilot CLI 1.0.10-0.

Steps to reproduce the behavior

  1. Run copilot
  2. Sometimes, copilot terminates immediately and goes back to the shell

Expected behavior

Copilot starts without issues

Additional context

  • macOS, latest update.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions