github / gh-copilot

Ask for assistance right in your terminal.
https://docs.github.com/en/copilot/github-copilot-in-the-cli
739 stars 31 forks source link

[BUG]: Can't install Copilot extension #51

Closed iamsubingyawali closed 7 months ago

iamsubingyawali commented 7 months ago

Description

I'm experiencing an issue while attempting to install the GitHub Copilot extension for the GitHub CLI on Linux. When running the following command:

gh ext install github/gh-copilot --force

The installation process appears to get stuck forever and doesn't complete. If I cancel the installation and try to reinstall the extension, the CLI reports that the extension already exists. However, when I try to run the gh copilot command, I receive the following error:

failed to run extension: fork/exec /home/user/.local/share/gh/extensions/gh-copilot/gh-copilot: no such file or directory

This suggests that the extension was not installed properly. I tried using gh ext browse and tried to install it from there as well but it too didn't work.

Environment

OS: Zorin OS 17.1 (Based on Ubuntu Jammy) GitHub CLI: v2.46.0 Shell: Bash v5.1.16

Expected Behavior

The GitHub Copilot extension should be installed correctly, and the gh copilot command should work as expected, providing access to the Copilot functionality in the CLI.

Please let me know if you need any additional information to investigate and resolve this issue.

iamsubingyawali commented 7 months ago

I was mistaken. The installation took a significant amount of time and was not stuck.

It took a really long time (More than 40 mins).

iamsubingyawali commented 7 months ago

Updates: https://github.com/cli/cli/issues/8861