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

Drupal 9 install fails #9

Closed
hussainweb opened this issue May 27, 2020 · 1 comment
Closed

Drupal 9 install fails #9

hussainweb opened this issue May 27, 2020 · 1 comment

Comments

@hussainweb
Copy link
Member

Running this command:

env COMPOSER_MEMORY_LIMIT=-1 init-drupal --core-version "^9.0.0" --core --lando --cache redis axl/migr

composer install fails with this error:

  Problem 1
    - Conclusion: don't install drupal/console 1.9.4
    - ...
    - Conclusion: don't install symfony/http-foundation v3.4.36
    - Installation request for drupal/console ^1.9 -> satisfiable by drupal/console[1.9.1, 1.9.2, 1.9.3, 1.9.4, v1.9.0].
    - Installation request for drupal/core ^9.0.0 -> satisfiable by drupal/core[9.0.0-alpha1, 9.0.0-alpha2, 9.0.0-beta1, 9.0.0-beta2, 9.0.0-beta3, 9.0.0-rc1, 9.0.x-dev, 9.1.x-dev].
    - drupal/console v1.9.0 requires symfony/http-foundation ~2.8|~3.0 -> satisfiable by symfony/http-foundation[2.8.x-dev, 3.0.x-dev, 3.1.x-dev, 3.2.x-dev, 3.3.x-dev, 3.4.x-dev, v2.8.0, v2.8.0-BETA1, v2.8.1, ..., v3.4.9].
    - Can only install one of: symfony/http-foundation[4.4.x-dev, 2.8.x-dev].
    - ...
    - Can only install one of: symfony/http-foundation[v3.4.9, 4.4.x-dev].
    - drupal/core 9.0.x-dev requires symfony/http-foundation ^4.4.7 -> satisfiable by symfony/http-foundation[4.4.x-dev, v4.4.7, v4.4.8].
    - Conclusion: don't install symfony/http-foundation v4.4.7|install symfony/http-foundation v3.4.36|install symfony/http-foundation v3.4.37|install symfony/http-foundation v3.4.38|install symfony/http-foundation v3.4.39

The problem is drupal/console doesn't support symfony/http-foundation at ^4.4.7 which Drupal 9 needs.

@hussainweb
Copy link
Member Author

Workaround for now:

  • Run the command and expect failure.
  • Run composer remove drupal/console

hussainweb added a commit that referenced this issue May 27, 2020
fix: Drupal 9 error, remove drupal/console (#9)
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

1 participant