Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install Drupal Console while using Drush 11.0.6 or higher #4332

Open
beunerd opened this issue Jul 27, 2022 · 4 comments
Open

Cannot install Drupal Console while using Drush 11.0.6 or higher #4332

beunerd opened this issue Jul 27, 2022 · 4 comments

Comments

@beunerd
Copy link

beunerd commented Jul 27, 2022

Starting with this version of drush there's a dependency on v2 of consolidation/config which is a project that Drupal Console ultimately depends on and which can only use v1:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - dflydev/dot-access-configuration[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.
    - drupal/console 1.9.8 requires drupal/console-core 1.9.7 -> satisfiable by drupal/console-core[1.9.7].
    - drupal/console-core 1.9.7 requires dflydev/dot-access-configuration ^1.0 -> satisfiable by dflydev/dot-access-configuration[v1.0.0-BETA1, ..., 1.0.x-dev].
    - Root composer.json requires drupal/console 1.9.8 -> satisfiable by drupal/console[1.9.8].
@LOBsTerr
Copy link
Member

It is strange I just install drush/drush 11.1.1, together with drupal/console 1.9.8 and consolidation/config 2.0.6. I didn't face any issue.
It looks like, there is a problem with dflydev/dot-access-data. Maybe you have something else conflicting with version ?

@LOBsTerr
Copy link
Member

I found, it happens, because of https://github.com/dflydev/dflydev-dot-access-data/releases

A new release was introduced, but DC core depends on version 1.

I am looking for a solution

@LOBsTerr
Copy link
Member

The problem is in drupal-composer/drupal-project, which bring dependency on https://github.com/grasmash/expander, which requires dflydev/dot-access-data:^3.0

And drupal/console require dflydev/dot-access-data:^1.0

@zoiosilva
Copy link
Contributor

zoiosilva commented Dec 9, 2022

This issue must be fixed fist, so then we can composer update this repo and fix this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants