terminus
terminus copied to clipboard
Terminus does not install on a drupal-composer/drupal-project project
Expected behavior
I expect to be able to install Terminus on a drupal-composer/drupal-project project
Actual behavior
When installing drupal-composer/drupal-project project and then Terminus, I receive the following error:
my_site_name_dir curl -O https://raw.githubusercontent.com/pantheon-systems/terminus-installer/master/builds/installer.phar && php installer.phar install
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3349k 100 3349k 0 0 4971k 0 --:--:-- --:--:-- --:--:-- 4970k
Installing Terminus...
<warning>You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug</warning>
Using version ^2.0 for pantheon-systems/terminus
./composer.json has been updated
> DrupalProject\composer\ScriptHandler::checkComposerVersion
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Conclusion: don't install pantheon-systems/terminus 2.0.1
- Conclusion: don't install jakub-onderka/php-console-highlighter 0.3
- Conclusion: don't install jakub-onderka/php-console-highlighter v0.4|install jakub-onderka/php-console-highlighter 0.3
- Conclusion: don't install pantheon-systems/terminus 2.0.1|remove jakub-onderka/php-console-highlighter v0.4|install jakub-onderka/php-console-highlighter 0.3
- Conclusion: don't install pantheon-systems/terminus 2.0.1|don't install jakub-onderka/php-console-highlighter v0.4|install jakub-onderka/php-console-highlighter 0.3
- Installation request for pantheon-systems/terminus ^2.0 -> satisfiable by pantheon-systems/terminus[2.0.0, 2.0.1].
- Conclusion: remove jakub-onderka/php-console-highlighter v0.4|install jakub-onderka/php-console-highlighter 0.3
- pantheon-systems/terminus 2.0.0 requires psy/psysh ^0.8 -> satisfiable by psy/psysh[v0.8.0, v0.8.1, v0.8.10, v0.8.11, v0.8.12, v0.8.13, v0.8.14, v0.8.15, v0.8.16, v0.8.17, v0.8.18, v0.8.2, v0.8.3, v0.8.4, v0.8.5, v0.8.6, v0.8.7, v0.8.8, v0.8.9].
- psy/psysh v0.8.9 requires jakub-onderka/php-console-highlighter 0.3.* -> satisfiable by jakub-onderka/php-console-highlighter[0.3, v0.3.1, v0.3.2].
- psy/psysh v0.8.8 requires jakub-onderka/php-console-highlighter 0.3.* -> satisfiable by jakub-onderka/php-console-highlighter[0.3, v0.3.1, v0.3.2].
- psy/psysh v0.8.7 requires jakub-onderka/php-console-highlighter 0.3.* -> satisfiable by jakub-onderka/php-console-highlighter[0.3, v0.3.1, v0.3.2].
- psy/psysh v0.8.6 requires jakub-onderka/php-console-highlighter 0.3.* -> satisfiable by jakub-onderka/php-console-highlighter[0.3, v0.3.1, v0.3.2].
- psy/psysh v0.8.5 requires jakub-onderka/php-console-highlighter 0.3.* -> satisfiable by jakub-onderka/php-console-highlighter[0.3, v0.3.1, v0.3.2].
- psy/psysh v0.8.4 requires jakub-onderka/php-console-highlighter 0.3.* -> satisfiable by jakub-onderka/php-console-highlighter[0.3, v0.3.1, v0.3.2].
- psy/psysh v0.8.3 requires jakub-onderka/php-console-highlighter 0.3.* -> satisfiable by jakub-onderka/php-console-highlighter[0.3, v0.3.1, v0.3.2].
- psy/psysh v0.8.2 requires jakub-onderka/php-console-highlighter 0.3.* -> satisfiable by jakub-onderka/php-console-highlighter[0.3, v0.3.1, v0.3.2].
- psy/psysh v0.8.18 requires jakub-onderka/php-console-highlighter 0.3.* -> satisfiable by jakub-onderka/php-console-highlighter[0.3, v0.3.1, v0.3.2].
- psy/psysh v0.8.17 requires jakub-onderka/php-console-highlighter 0.3.* -> satisfiable by jakub-onderka/php-console-highlighter[0.3, v0.3.1, v0.3.2].
- psy/psysh v0.8.16 requires jakub-onderka/php-console-highlighter 0.3.* -> satisfiable by jakub-onderka/php-console-highlighter[0.3, v0.3.1, v0.3.2].
- psy/psysh v0.8.15 requires jakub-onderka/php-console-highlighter 0.3.* -> satisfiable by jakub-onderka/php-console-highlighter[0.3, v0.3.1, v0.3.2].
- psy/psysh v0.8.14 requires jakub-onderka/php-console-highlighter 0.3.* -> satisfiable by jakub-onderka/php-console-highlighter[0.3, v0.3.1, v0.3.2].
- psy/psysh v0.8.13 requires jakub-onderka/php-console-highlighter 0.3.* -> satisfiable by jakub-onderka/php-console-highlighter[0.3, v0.3.1, v0.3.2].
- psy/psysh v0.8.12 requires jakub-onderka/php-console-highlighter 0.3.* -> satisfiable by jakub-onderka/php-console-highlighter[0.3, v0.3.1, v0.3.2].
- psy/psysh v0.8.11 requires jakub-onderka/php-console-highlighter 0.3.* -> satisfiable by jakub-onderka/php-console-highlighter[0.3, v0.3.1, v0.3.2].
- psy/psysh v0.8.10 requires jakub-onderka/php-console-highlighter 0.3.* -> satisfiable by jakub-onderka/php-console-highlighter[0.3, v0.3.1, v0.3.2].
- psy/psysh v0.8.1 requires jakub-onderka/php-console-highlighter 0.3.* -> satisfiable by jakub-onderka/php-console-highlighter[0.3, v0.3.1, v0.3.2].
- psy/psysh v0.8.0 requires jakub-onderka/php-console-highlighter 0.3.* -> satisfiable by jakub-onderka/php-console-highlighter[0.3, v0.3.1, v0.3.2].
- Can only install one of: jakub-onderka/php-console-highlighter[v0.3.1, v0.4].
- Can only install one of: jakub-onderka/php-console-highlighter[v0.3.2, v0.4].
- Installation request for jakub-onderka/php-console-highlighter (locked at v0.4) -> satisfiable by jakub-onderka/php-console-highlighter[v0.4].
Installation failed, reverting ./composer.json to its original content.
Steps to reproduce the behavior
Running MacOS Mojave
# Create and cd into an empty directory
composer create-project drupal-composer/drupal-project:8.x-dev my_site_name_dir --no-interaction
curl -O https://raw.githubusercontent.com/pantheon-systems/terminus-installer/master/builds/installer.phar && php installer.phar install
Terminus is not designed to be installed as part of a Drupal site. Please install it standalone; the .phar is preferred.
@greg-1-anderson I'm pretty sure it is with Lando Might be a different issue but I have a loop drupal/upgrade_status requires nikic/php-parser:^4 pantheon-systems/terminus requres psy/psysh:^0.8 psy/psysh 0.8.18 requres nikic/php-parser:^3
Therefore I have 2 options. No install upgrade_status module which tells me how to get ready for Drupal 9 OR Uninstall terminus from lando and lose all of the terminus integration
If the Lando Terminus integration installs Terminus as part of the Drupal project, that's a Lando configuration bug.
Note that Lando does not install Terminus as part of the Drupal project; you an see in the Dockerfiles for the Pantheon integration how Lando installs Terminus: https://github.com/lando/pantheon/blob/a21b5aaee731afa07ea7005deca10fdcb289d49c/recipes/pantheon/7.3-fpm/Dockerfile
Thanks for the quick response by the both of you. That is very helpful @reynoldsalec. Currently using the Drupal8/9 recipes not pantheons. Side-note: I feel like lando/lando documentions of https://docs.lando.dev/config/pantheon.html should be updated as I had no clue how pantheon recipe was being built. Should be link/comment inserted to lando/pantheon git repo. And taking it one set further Acquia/Platform.sh etc docs should be updated as well.
Good point @iStryker; we haven't actually started deploying lando/pantheon to people, but that will start in the next release...as you can see all issues/development is now happening in the integration repos, not lando/lando.