Skip to content

Crashes on windows under git-bash shell (MINGW64) #237

@DanChadwick

Description

@DanChadwick

I install the git shell for use with git, composer, drush and other tools on windows. When installing drupalorg and attempting to run it, I get:

Fatal error: Uncaught TypeError: trim(): Argument #1 ($string) must be of type string, false given in phar://C:/wamp64/drupal-tools/drupalorg.phar/.box/src/Terminal.php on line 60

TypeError: trim(): Argument #1 ($string) must be of type string, false given in phar://C:/wamp64/drupal-tools/drupalorg.phar/.box/src/Terminal.php on line 60

Call Stack:
    0.0017    1373544   1. {main}() C:\wamp64\drupal-tools\drupalorg.phar:0
    0.0025    1379264   2. require('phar://C:/wamp64/drupal-tools/drupalorg.phar/.box/bin/check-requirements.php') C:\wamp64\drupal-tools\drupalorg.phar:12
    0.0042    1557192   3. HumbugBox436\KevinGH\RequirementChecker\Checker::checkRequirements() phar://C:/wamp64/drupal-tools/drupalorg.phar/.box/bin/check-requirements.php:22
    0.0086    1774840   4. HumbugBox436\KevinGH\RequirementChecker\Printer->__construct($verbosity = 32, $supportColors = TRUE, $width = ???) phar://C:/wamp64/drupal-tools/drupalorg.phar/.box/src/Checker.php:17
    0.0089    1793048   5. HumbugBox436\KevinGH\RequirementChecker\Terminal->getWidth() phar://C:/wamp64/drupal-tools/drupalorg.phar/.box/src/Printer.php:28
    0.0089    1793096   6. HumbugBox436\KevinGH\RequirementChecker\Terminal::initDimensions() phar://C:/wamp64/drupal-tools/drupalorg.phar/.box/src/Terminal.php:31
    0.0089    1793096   7. trim($string = FALSE) phar://C:/wamp64/drupal-tools/drupalorg.phar/.box/src/Terminal.php:60

Please let me know if there is anything I can do to help diagnose the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions