hechoendrupal / drupal-console

The Drupal CLI. A tool to generate boilerplate code, interact with and debug Drupal.
http://drupalconsole.com
GNU General Public License v2.0
940 stars 560 forks source link

Install instructions fail #4342

Open stovak opened 1 year ago

stovak commented 1 year ago

https://drupalconsole.com/installer returns error

Error: Server Error

The server encountered an error and could not complete your request.
Please try again in 30 seconds.
stovak commented 1 year ago

Could be related: Box build fails with a missing "config.yml" file.

 // Loading the configuration file "/private/var/tmp/drupal-console/box.json".                                          

 [ERROR] The configuration file is invalid.                                                                             

In Assert.php line 1012:

  "files" must contain a list of existing files. Could not find "/private/var/tmp/drupal-console/config.yml".  
GBeushausen commented 1 year ago

Seems like there is no way to install this project. Is it abandoned, or what happened?

LOBsTerr commented 1 year ago

You can install it using composer

composer install drupal/console
GBeushausen commented 1 year ago

@LOBsTerr Thanks. I couldn't install it locally because i had some strange errors. Later i found out that when you locally install drush before Drupal console, it wouldn't install because of dependency errors. But when you remove Drush, install Drupal console and then install Drush it works.

uniquename commented 1 year ago

I encountered the same behavior as GBeushausen described.

None of the described methods from https://drupalconsole.com/docs/en/getting/composer worked. Here is the composer error I got

  Problem 1
    - drupal/console 1.9.10 requires drupal/console-core ^1.9.8 -> satisfiable by drupal/console-core[1.9.8].
    - drupal/console[1.9.7, ..., 1.9.9] require drupal/console-core 1.9.7 -> satisfiable by drupal/console-core[1.9.7].
    - drupal/console 1.9.5 requires drupal/console-core 1.9.6 -> satisfiable by drupal/console-core[1.9.6].
    - drupal/console-core 1.9.8 requires dflydev/dot-access-configuration ^1.0.4 -> satisfiable by dflydev/dot-access-configuration[1.0.x-dev (alias of dev-master)].
    - drupal/console-core[1.9.6, ..., 1.9.7] require dflydev/dot-access-configuration ^1.0 -> satisfiable by dflydev/dot-access-configuration[v1.0.0-BETA1, ..., 1.0.x-dev (alias of dev-master)].
    - dflydev/dot-access-configuration 1.0.x-dev is an alias of dflydev/dot-access-configuration dev-master and thus requires it to be installed too.
    - drupal/console[1.0.0-alpha1, ..., 1.0.0-beta3] require symfony/console ~2.8 -> found symfony/console[v2.8.0-BETA1, ..., 2.8.x-dev] but these were not loaded, likely because it conflicts with another require.
    - drupal/console[1.0.0-beta4, ..., 1.0.0-beta5] require php ^5.6 || ^7.0 -> your php version (8.1.11) does not satisfy that requirement.
    - drupal/console[1.0.0-rc1, ..., 1.9.4] require php ^5.5.9 || ^7.0 -> your php version (8.1.11) does not satisfy that requirement.
    - dflydev/dot-access-configuration[dev-master, v1.0.0-BETA1, ..., 1.0.x-dev] require dflydev/dot-access-data 1.* -> found dflydev/dot-access-data[v1.0.0, v1.0.1, v1.1.0] but these were not loaded, likely because it conflicts with another require.
    - Root composer.json requires drupal/console ~1.0 -> satisfiable by drupal/console[1.0.0-alpha1, ..., 1.9.10].