Auth/myth - before filter - redirect login |
Hi, As suggested I backed up my project and tried to install version CI 4 4.0.4 (instead of update) and got a very similar error. I also noticed there was not a system or vendor folder.
C:\mydrive\myfolder>composer create-project codeigniter4/appstarter --no-dev Installing codeigniter4/appstarter (v4.0.4) - Installing codeigniter4/appstarter (v4.0.4): Loading from cache Created project in C:\mydrive\myfolder\appstarter Loading composer repositories with package information Updating dependencies Package operations: 5 installs, 0 updates, 0 removals - Installing psr/log (1.1.3): Loading from cache - Installing laminas/laminas-zendframework-bridge (1.0.4): Loading from cache - Installing laminas/laminas-escaper (2.6.1): Loading from cache - Installing kint-php/kint (3.3): Loading from cache - Installing codeigniter4/framework (v4.0.4): Loading from cache Writing lock file Generating autoload files Fatal error: Uncaught Error: Class 'Composer\XdebugHandler\XdebugHandler' not found in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/bin/composer:16 Stack trace: #0 C:\ProgramData\ComposerSetup\bin\composer.phar(24): require() #1 {main} thrown in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/bin/composer on line 16 PHP Fatal error: Uncaught Error: Class 'Composer\XdebugHandler\XdebugHandler' not found in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/bin/composer:16 Stack trace: #0 C:\ProgramData\ComposerSetup\bin\composer.phar(24): require() #1 {main} thrown in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/bin/composer on line 16 Script @composer dump-autoload handling the post-update-cmd event returned with error code 255 If I try the install WITHOUT --no-dev option I get simialr error C:\mydrive\myfolder>composer create-project codeigniter4/appstarter Installing codeigniter4/appstarter (v4.0.4) - Installing codeigniter4/appstarter (v4.0.4): Loading from cache Created project in C:\mydrive\myfolder\appstarter Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 36 installs, 0 updates, 0 removals - Installing psr/log (1.1.3): Loading from cache - Installing laminas/laminas-zendframework-bridge (1.0.4): Loading from cache - Installing laminas/laminas-escaper (2.6.1): Loading from cache - Installing kint-php/kint (3.3): Loading from cache - Installing codeigniter4/framework (v4.0.4): Loading from cache - Installing fzaninotto/faker (dev-master 5337ce5): Cloning 5337ce5261 Failed to download fzaninotto/faker from source: Failed to clone https://github.com/fzaninotto/Faker.git, git was not found, check that it is installed and in your PATH env. 'git' is not recognized as an internal or external command, operable program or batch file. Now trying to download from dist - Installing fzaninotto/faker (dev-master 5337ce5): Loading from cache - Installing mikey179/vfsstream (v1.6.8): Loading from cache - Installing sebastian/version (2.0.1): Loading from cache - Installing sebastian/type (1.1.3): Loading from cache - Installing sebastian/resource-operations (2.0.1): Loading from cache - Installing sebastian/recursion-context (3.0.0): Loading from cache - Installing sebastian/object-reflector (1.1.1): Loading from cache - Installing sebastian/object-enumerator (3.0.3): Loading from cache - Installing sebastian/global-state (3.0.0): Loading from cache - Installing sebastian/exporter (3.1.2): Loading from cache - Installing sebastian/environment (4.2.3): Loading from cache - Installing sebastian/diff (3.0.2): Loading from cache - Installing sebastian/comparator (3.0.2): Loading from cache - Installing phpunit/php-timer (2.1.2): Loading from cache - Installing phpunit/php-text-template (1.2.1): Loading from cache - Installing phpunit/php-file-iterator (2.0.2): Loading from cache - Installing theseer/tokenizer (1.2.0): Loading from cache - Installing sebastian/code-unit-reverse-lookup (1.0.1): Loading from cache - Installing phpunit/php-token-stream (3.1.1): Loading from cache - Installing phpunit/php-code-coverage (7.0.10): Loading from cache - Installing doctrine/instantiator (1.3.1): Loading from cache - Installing phpdocumentor/reflection-common (2.2.0): Loading from cache - Installing symfony/polyfill-ctype (v1.18.1): Loading from cache - Installing webmozart/assert (1.9.1): Loading from cache - Installing phpdocumentor/type-resolver (1.3.0): Loading from cache - Installing phpdocumentor/reflection-docblock (5.2.0): Loading from cache - Installing phpspec/prophecy (1.11.1): Loading from cache - Installing phar-io/version (2.0.1): Loading from cache - Installing phar-io/manifest (1.0.3): Loading from cache - Installing myclabs/deep-copy (1.10.1): Loading from cache - Installing phpunit/phpunit (8.5.8): Loading from cache kint-php/kint suggests installing kint-php/kint-twig (Provides d() and s() functions in twig templates) kint-php/kint suggests installing kint-php/kint-js (Provides a simplified dump to console.log()) kint-php/kint suggests installing symfony/polyfill-mbstring (Replacement for ext-mbstring if missing) kint-php/kint suggests installing symfony/polyfill-iconv (Replacement for ext-iconv if missing) sebastian/global-state suggests installing ext-uopz (*) sebastian/environment suggests installing ext-posix (*) phpunit/php-code-coverage suggests installing ext-xdebug (^2.7.2) phpunit/phpunit suggests installing phpunit/php-invoker (^2.0.0) phpunit/phpunit suggests installing ext-soap (*) phpunit/phpunit suggests installing ext-xdebug (*) Writing lock file Generating autoload files Fatal error: Uncaught Error: Class 'Composer\XdebugHandler\XdebugHandler' not found in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/bin/composer:16 Stack trace: #0 C:\ProgramData\ComposerSetup\bin\composer.phar(24): require() #1 {main} thrown in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/bin/composer on line 16 PHP Fatal error: Uncaught Error: Class 'Composer\XdebugHandler\XdebugHandler' not found in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/bin/composer:16 Stack trace: #0 C:\ProgramData\ComposerSetup\bin\composer.phar(24): require() #1 {main} thrown in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/bin/composer on line 16 Script @composer dump-autoload handling the post-update-cmd event returned with error code 255 Any thoughts? |
Welcome Guest, Not a member yet? Register Sign In |