When I try to install this, I get a composer requirement issue with symfony/css-selector ... has anyone run into this and have a fix?
When I dive into the composer.lock file, I see that css-selector 4 is required by fabpot/goutte and that's required by behat/mink-goutte-driver, which is required by drupal/drupal-extension, which is required by a few pantheon modules I have installed.
% composer require --dev drupal/core-dev:8.9.19 --update-with-all-dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for drupal/core-dev 8.9.19 -> satisfiable by drupal/core-dev[8.9.19].
- Conclusion: remove symfony/css-selector v4.4.27
- Conclusion: don't install symfony/css-selector v4.4.27
- drupal/core-dev 8.9.19 requires symfony/css-selector ^3.4.0 -> satisfiable by symfony/css-selector[3.4.x-dev, v3.4.0, v3.4.0-BETA1, v3.4.0-BETA2, v3.4.0-BETA3, v3.4.0-BETA4, v3.4.0-RC1, v3.4.0-RC2, v3.4.1, v3.4.10, v3.4.11, v3.4.12, v3.4.13, v3.4.14, v3.4.15, v3.4.16, v3.4.17, v3.4.18, v3.4.19, v3.4.2, v3.4.20, v3.4.21, v3.4.22, v3.4.23, v3.4.24, v3.4.25, v3.4.26, v3.4.27, v3.4.28, v3.4.29, v3.4.3, v3.4.30, v3.4.31, v3.4.32, v3.4.33, v3.4.34, v3.4.35, v3.4.36, v3.4.37, v3.4.38, v3.4.39, v3.4.4, v3.4.40, v3.4.41, v3.4.42, v3.4.43, v3.4.44, v3.4.45, v3.4.46, v3.4.47, v3.4.5, v3.4.6, v3.4.7, v3.4.8, v3.4.9].
- Can only install one of: symfony/css-selector[3.4.x-dev, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.0, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.0-BETA1, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.0-BETA2, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.0-BETA3, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.0-BETA4, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.0-RC1, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.0-RC2, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.1, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.10, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.11, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.12, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.13, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.14, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.15, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.16, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.17, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.18, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.19, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.2, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.20, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.21, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.22, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.23, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.24, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.25, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.26, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.27, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.28, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.29, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.3, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.30, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.31, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.32, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.33, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.34, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.35, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.36, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.37, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.38, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.39, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.4, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.40, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.41, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.42, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.43, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.44, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.45, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.46, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.47, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.5, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.6, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.7, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.8, v4.4.27].
- Can only install one of: symfony/css-selector[v3.4.9, v4.4.27].
- Installation request for symfony/css-selector (locked at v4.4.27) -> satisfiable by symfony/css-selector[v4.4.27].
Comments
Comment #2
mglamanI don't think that's an issue with this module, but rather your other modules not truly supporting Drupal 8. They've added a dependency on drupal-extension for Behat that has Drupal 9 dependencies.
Comment #3
jason_purdy commentedThanks for this. I actually went down this rabbit hole because the module complained about not finding phpstan and the vendor directory and I was able to fix this by removing the nested/synced composer.json in the web subdirectory for my specific site. Then upgrade_status found the root composer.json and vendor directory to find phpstan.
Comment #4
mglamanGlad to hear you were able to get it solved!
Comment #5
charly71 commentedHi, I've the same issue with version 8.9.19 but I don't have any web subfolder. I use a legacy file structure...