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

Skip to content

Wrong command "mode" #1129

@cevou

Description

@cevou

Hi,

composer worked well for me but since today I get the following error. Any suggestions how to fix that?

Der Befehl "mode" ist entweder falsch geschrieben oder konnte nicht gefunden werden.
PHP Fatal error: Uncaught exception 'ErrorException' with message 'Undefined offset: 4' in phar://C:/Users/Christoph/Software/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php:852

Stack trace:
#0 phar://C:/Users/Christoph/Software/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php(852): Composer\Util\ErrorHandler::handle(8, 'Undefined offse...', 'phar://C:/Users...', 852, Array)
#1 phar://C:/Users/Christoph/Software/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php(780): Symfony\Component\Console\Application->getTerminalWidth()
#2 phar://C:/Users/Christoph/Software/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php(113): Symfony\Component\Console\Application->renderException(Object(RuntimeException), Object(Symfony\Component\Console\Output\StreamOutput))
#3 phar://C:/Users/Christoph/Software/composer.phar/src/Composer/Console/Application.php(72): Symfony\Component\Console\Application->run(NULL, Object(Symfony\Comp in phar://C:/Users/Christoph/Software/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php on line 852

Fatal error: Uncaught exception 'ErrorException' with message 'Undefined offset: 4' in phar://C:/Users/Christoph/Software/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php on line 852

ErrorException: Undefined offset: 4 in phar://C:/Users/Christoph/Software/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php on line 852

Call Stack:
0.0038 409424 1. {main}() C:\Users\Christoph\Software\composer.phar:0
0.0039 413944 2. require('phar://C:/Users/Christoph/Software/composer.phar/bin/composer') C:\Users\Christoph\Software\composer.phar:15
0.0210 2453112 3. Composer\Console\Application->run() phar://C:/Users/Christoph/Software/composer.phar/bin/composer:37
0.0237 2684824 4. Symfony\Component\Console\Application->run() phar://C:/Users/Christoph/Software/composer.phar/src/Composer/Console/Application.php:72

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