Skip to content

cannot install/run terminus on windows #2755

@Leemuzzy

Description

@Leemuzzy

following pantheons documentation here
https://docs.pantheon.io/terminus/install

I get a fatel error when trying to run the php.

$ php.exe terminus self:update
PHP Fatal error: Uncaught TypeError: Symfony\Component\Console\Application::__construct(): Argument #2 ($version) must be of type string, null given, called in phar://C:/Users/LeeMuzzy/terminus/terminus/src/Terminus.php on line 97 and defined in phar://C:/Users/LeeMuzzy/terminus/terminus/vendor/symfony/console/Application.php:94
Stack trace:
#0 phar://C:/Users/LeeMuzzy/terminus/terminus/src/Terminus.php(97): Symfony\Component\Console\Application->__construct()
#1 phar://C:/Users/LeeMuzzy/terminus/terminus/src/Terminus.php(623): Pantheon\Terminus\Terminus->__construct()
#2 phar://C:/Users/LeeMuzzy/terminus/terminus/bin/terminus(78): Pantheon\Terminus\Terminus::factory()
#3 C:\Users\LeeMuzzy\terminus\terminus(13): require('...')
#4 {main}
thrown in phar://C:/Users/LeeMuzzy/terminus/terminus/vendor/symfony/console/Application.php on line 94

I am using gitbash as my terminal and
$ php -v
PHP 8.3.13 (cli) (built: Oct 22 2024 21:07:34) (NTS Visual C++ 2019 x64)
Copyright (c) The PHP Group
Zend Engine v4.3.13, Copyright (c) Zend Technologies

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