Как обновить Slick Views и компанию без потерь до 3й версии?

Главные вкладки

Аватар пользователя cwpnaWLs7M4a cwpnaWLs7M4a 23 мая в 17:31

$ composer require 'drupal/slick_views:^3.0' -W
./composer.json has been updated
Running composer update drupal/slick_views --with-all-dependencies
Gathering patches for root package.
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- drupal/slick_views[3.0.0, ..., 3.0.x-dev] require drupal/slick ^3.0 -> found drupal/slick[dev-3.0.x, 3.0.0, 3.0.1, 3.0.2, 3.0.x-dev (alias of dev-3.0.x)] but it conflicts with your root composer.json require (^2.10).
- Root composer.json requires drupal/slick_views ^3.0 -> satisfiable by drupal/slick_views[3.0.0, 3.0.1, 3.0.2, 3.0.x-dev].

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

slick_views завит от slick
а slick зависит от blazy

руинить все что настроено не хотелось бы. Кто-н работает со slick?

установлено
blazy 8.x-2.27
slick 8.x-2.11
slick_views 8.x-2.8

надо
blazy 3.0.6
slick 3.0.2
slick_views 3.0.2

$ composer require 'drupal/blazy:^3.0' -W
./composer.json has been updated
Running composer update drupal/blazy --with-all-dependencies
Gathering patches for root package.
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Root composer.json requires drupal/blazy ^3.0, found drupal/blazy[dev-3.0.x, 3.0.0, ..., 3.0.x-dev] but these were not loaded, likely because it conflicts with another require.
Problem 2
- drupal/slick is locked to version 2.11.0 and an update of this package was not requested.
- drupal/slick 2.11.0 requires drupal/blazy ^2.17 -> found drupal/blazy[dev-2.x, 2.17.0-beta1, ..., 2.x-dev (alias of dev-2.x)] but it conflicts with your root composer.json require (^3.0).
Problem 3
- drupal/slick 2.11.0 requires drupal/blazy ^2.17 -> found drupal/blazy[dev-2.x, 2.17.0-beta1, ..., 2.x-dev (alias of dev-2.x)] but it conflicts with your root composer.json require (^3.0).
- drupal/slick_views 2.8.0 requires drupal/slick ^2.10 -> satisfiable by drupal/slick[2.11.0].
- drupal/slick_views is locked to version 2.8.0 and an update of this package was not requested.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

Лучший ответ

Аватар пользователя cwpnaWLs7M4a cwpnaWLs7M4a 23 мая в 17:42

вопрос решил командой
composer require 'drupal/blazy:^3.0' 'drupal/slick:^3.0' 'drupal/slick_views:^3.0'

Комментарии