WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

PHP Fatal error: Uncaught Error: Class 'Consolidation\Cgr\SystemInformation' not found in ~/.config/composer/vendor/consolidation/cgr/bin/cgr.php:17 #31

@86me

Description

@86me

Followed the installation instructions, added "~/.config/composer/vendor/bin" to my $PATH, then tried running cgr and get this error

PHP Fatal error:  Uncaught Error: Class 'Consolidation\Cgr\SystemInformation' not found in /home/86me/.config/composer/vendor/consolidation/cgr/bin/cgr.php:17
Stack trace:
#0 /home/86me/.config/composer/vendor/consolidation/cgr/bin/cgr(5): main(Array)
#1 {main}
  thrown in /home/86me/.config/composer/vendor/consolidation/cgr/bin/cgr.php on line 17

This is line 17 of cgr.php

$home = \Consolidation\Cgr\SystemInformation::getHomeDir();

What am I missing?

OS: Arch
Composer version 1.7.2 2018-08-16 16:57:12

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions