Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Uncaught Error: Class "Composer\Console\GithubActionError" #12619

@staabm

Description

@staabm

My composer.json:

none

Output of composer diagnose:

➜  ~ composer diagnose
Checking platform settings: OK
Checking git settings: OK git version 2.51.2
Checking http connectivity to packagist: OK
Checking https connectivity to packagist: OK
Checking github.com oauth access: OK does not expire
Checking disk free space: OK
Checking pubkeys:
Tags Public Key Fingerprint: 57815BA2 7E54DC31 7ECC7CC5 573090D0  87719BA6 8F3BB723 4E5D42D0 84A14642
Dev Public Key Fingerprint: 4AC45767 E5EC2265 2F0C1167 CBBB8A2B  0C708369 153E328C AD90147D AFE50952
OK
Checking Composer version: You are not running the latest stable version, run `composer self-update` to update (2.8.12 => 2.9.1)
Checking Composer and its dependencies for vulnerabilities: OK
Composer version: 2.8.12
PHP version: 8.3.27
PHP binary path: /opt/homebrew/Cellar/[email protected]/8.3.27_2/bin/php
OpenSSL version: OpenSSL 3.6.0 1 Oct 2025
curl version: 8.17.0 libz 1.2.12 brotli brotli/1.2.0 zstd supported ssl OpenSSL/3.6.0
zip: extension present, unzip present, 7-Zip not available```

When I run this command:

composer self-update -vvv

I get the following output:

Running 2.8.12 (2025-09-19 13:41:59) with PHP 8.3.27 on Darwin / 24.6.0
Loading config file /Users/staabm/.composer/auth.json
Reading /Users/staabm/.composer/composer.json
Loading config file /Users/staabm/.composer/auth.json
Loading config file /Users/staabm/.composer/composer.json (/Users/staabm/.composer/composer.json)
Loading config file /Users/staabm/.composer/auth.json
Reading /Users/staabm/.composer/auth.json
Checked CA file /opt/homebrew/etc/ca-certificates/cert.pem: valid
Executing command (/Users/staabm/.composer): 'git' 'branch' '-a' '--no-color' '--no-abbrev' '-v'
Executing command (/Users/staabm/.composer): 'git' 'describe' '--exact-match' '--tags'
Executing command (/Users/staabm/.composer): 'git' 'log' '--pretty=%H' '-n1' 'HEAD' '--no-show-signature'
Executing command (/Users/staabm/.composer): 'hg' 'branch'
Executing command (/Users/staabm/.composer): 'fossil' 'branch' 'list'
Executing command (/Users/staabm/.composer): 'fossil' 'tag' 'list'
Executing command (/Users/staabm/.composer): 'svn' 'info' '--xml'
Reading /Users/staabm/.composer/composer.lock
Reading /Users/staabm/.composer/vendor/composer/installed.json
Downloading https://getcomposer.org/versions
[200] https://getcomposer.org/versions
Upgrading to version 2.9.1 (stable channel).
Downloading https://getcomposer.org/download/2.9.1/composer.phar.sig
[200] https://getcomposer.org/download/2.9.1/composer.phar.sig
   Downloading https://getcomposer.org/download/2.9.1/composer.phar
[200] https://getcomposer.org/download/2.9.1/composer.phar

PHP Fatal error:  Uncaught Error: Class "Composer\Console\GithubActionError" not found in phar:///usr/local/bin/composer/src/Composer/Console/Application.php:425
Stack trace:
#0 phar:///usr/local/bin/composer/vendor/symfony/console/Application.php(171): Composer\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#1 phar:///usr/local/bin/composer/src/Composer/Console/Application.php(137): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#2 phar:///usr/local/bin/composer/bin/composer(98): Composer\Console\Application->run()
#3 /usr/local/bin/composer(29): require('phar:///usr/loc...')
#4 {main}
  thrown in phar:///usr/local/bin/composer/src/Composer/Console/Application.php on line 425

And I expected this to happen:
no error while upgrading

running on macos 15.7.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions