drupal/console v1.9.0 requires symfony/css-selector ~2.8|~3.0 -> satisfiable by symfony/css-selector. Conclusion: don't install symfony/css-selector v5.1.5 Installation request for drupal/console ^1.9 -> satisfiable by drupal/console. Conclusion: don't install drupal/console 1.9.4 Conclusion: don't install drupal/console 1.9.5 $ composer require drupal/console -prefer-dist -optimize-autoloader On a Drupal 8.9.5 site I realized a similar issue when trying to install Drupal Console. Before pushing this site to production you'd really want to remove Drupal Console and upgrade to the 4.x versions again. I've been running Drupal 8.8.x on the 3.x versions of those Symfony packages for quite a while now and didn't run into any problems so far. So let's do that:Ĭomposer require symfony/filesystem:"~3.0"Ĭomposer require drupal/console:~1.10 -prefer-dist -optimize-autoloaderĪnd there you go with a brand new Drupal Console added to your site. So we'll have to downgrade this package too, before being able to install Drupal Console. Symfony/yaml v3.4.35 Symfony Yaml ComponentĪll Symfony components except symfony/finder are down to v3.x. Symfony/var-dumper v4.4.7 Symfony mechanism for exploring and dumping PHP variables Symfony/validator v3.4.35 Symfony Validator Component Symfony/translation v3.4.35 Symfony Translation Component Symfony/serializer v3.4.35 Symfony Serializer Component Symfony/routing v3.4.35 Symfony Routing Component Symfony/psr-http-message-bridge v1.1.2 PSR HTTP message bridge Symfony/process v3.4.35 Symfony Process Component Symfony/polyfill-util v1.12.0 Symfony utilities for portability of PHP codes Symfony/polyfill-php72 v1.15.0 Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions Symfony/polyfill-php70 v1.12.0 Symfony polyfill backporting some PHP 7.0+ features to lower PHP versions Symfony/polyfill-php56 v1.12.0 Symfony polyfill backporting some PHP 5.6+ features to lower PHP versions Symfony/polyfill-mbstring v1.12.0 Symfony polyfill for the Mbstring extension Symfony/polyfill-iconv v1.12.0 Symfony polyfill for the Iconv extension Symfony/polyfill-ctype v1.12.0 Symfony polyfill for ctype functions Symfony/http-kernel v3.4.35 Symfony HttpKernel Component Symfony/http-foundation v3.4.35 Symfony HttpFoundation Component Symfony/finder v4.4.7 Symfony Finder Component Symfony/filesystem v3.4.39 Symfony Filesystem Component Symfony/event-dispatcher v3.4.35 Symfony EventDispatcher Component Symfony/dependency-injection v3.4.35 Symfony DependencyInjection Component Symfony/debug v3.4.35 Symfony Debug Component Symfony/console v3.4.35 Symfony Console Component Symfony/class-loader v3.4.35 Symfony ClassLoader Component Let's check the installed symfony packages: Well, symfony/finder version seems to be a problem too. Installation request for symfony/finder (locked at v4.4.7) -> satisfiable by symfony/finder. |install symfony/finder v3.2.8|install symfony/finder v3.2.9 Conclusion: don't install drupal/console-core 1.0.1|remove symfony/finder v4.4.7|install symfony/finder 2.8.x-dev|install symfony/finder 2.8.x-dev|install symfony/finder 3.0.x-dev|install symfony/finder 3.1.x-dev. Installation request for symfony/dependency-injection (locked at v3.4.35) -> satisfiable by symfony/dependency-injection. If you only downgrade symfony/filesystem to the latest 3.x version you'll run into another error: Obviously Composer complains that drupal/console does not like symfony/filesystem v4.x, it requires some 3.x version. Installation request for symfony/filesystem (locked at v4.4.7) -> satisfiable by symfony/filesystem.Īnd there's a lot more lines like those above. Can only install one of: symfony/filesystem. drupal/console-core v1.9.0 requires symfony/filesystem ~2.8|~3.0 -> satisfiable by symfony/filesystem Installation request for drupal/console ^1.9 -> satisfiable by drupal/console Conclusion: remove symfony/filesystem v4.4.7 Conclusion: don't install drupal/console-core 1.9.4 drupal/console 1.9.4 requires drupal/console-core 1.9.4 -> satisfiable by drupal/console-core. Your requirements could not be resolved to an installable set of packages. Updating dependencies (including require-dev) Loading composer repositories with package information $ composer require drupal/console:~1.10 -prefer-dist -optimize-autoloader ĭownload and setup are working flawlessly, but when I try to require Drupal Console (currently at v1.9.4) I end up with a bunch of Composer errors: I just installed a fresh Drupal 8.8.5 site using Drupals "new" recommended-project Composer template:Ĭomposer create-project drupal/recommended-project. Installing Drupal Console 1.9.4 on a fresh Drupal 8.8.5 site
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |