Automatically closed - issue fixed for 2 weeks with no activity.
- 🇫🇷France jjancel
Hello
after research i solved the problem by installing the module https://www.drupal.org/project/jquery_ui_autocomplete →
it would be nice if the dependencies were indicated in the description - 🇬🇧United Kingdom therobyouknow
Agree with https://www.drupal.org/project/geolocation/issues/3328967#comment-14924312 🐛 New dependency jquery_ui_autocomplete is not automatically enabled Fixed
In turn, I had to composer install a later version of jquery_ui
I got it working. Here are my failures, then my successes and my composer.json file:
my failures:
$ ./composer require 'drupal/geolocation:^3.12' ./composer.json has been updated Running composer update drupal/geolocation Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages. Problem 1 - drupal/jquery_ui_autocomplete 2.0.0 requires drupal/jquery_ui ^1.6 -> found drupal/jquery_ui[1.6.0] but the package is fixed to 1.4.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command. - drupal/geolocation 3.12.0 requires drupal/jquery_ui_autocomplete ^2.0 -> satisfiable by drupal/jquery_ui_autocomplete[2.0.0]. - Root composer.json requires drupal/geolocation ^3.12 -> satisfiable by drupal/geolocation[3.12.0]. Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions. Installation failed, reverting ./composer.json and ./composer.lock to their original content. $ ./composer require 'drupal/geolocation:^3.12' ./composer.json has been updated Running composer update drupal/geolocation Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages. Problem 1 - drupal/geolocation[dev-3.x, 3.12.0] require drupal/jquery_ui_autocomplete ^2.0 -> satisfiable by drupal/jquery_ui_autocomplete[2.0.0, 2.x-dev (alias of dev-2.x)]. - drupal/jquery_ui_autocomplete 2.x-dev is an alias of drupal/jquery_ui_autocomplete dev-2.x and thus requires it to be installed too. - drupal/jquery_ui_autocomplete[dev-2.x, 2.0.0] require drupal/jquery_ui ^1.6 -> found drupal/jquery_ui[dev-1.x, 1.6.0, 1.x-dev (alias of dev-1.x)] but the package is fixed to 1.4.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command. - drupal/geolocation 3.x-dev is an alias of drupal/geolocation dev-3.x and thus requires it to be installed too. - Root composer.json requires drupal/geolocation ^3.12 -> satisfiable by drupal/geolocation[3.12.0, 3.x-dev (alias of dev-3.x)]. Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions. Installation failed, reverting ./composer.json and ./composer.lock to their original content. l$ ./composer require 'drupal/jquery_ui_autocomplete:^2.0' ./composer.json has been updated Running composer update drupal/jquery_ui_autocomplete 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/jquery_ui_autocomplete ^2.0 -> satisfiable by drupal/jquery_ui_autocomplete[2.0.0]. - drupal/jquery_ui_autocomplete 2.0.0 requires drupal/jquery_ui ^1.6 -> found drupal/jquery_ui[1.6.0] but the package is fixed to 1.4.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command. Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions. Installation failed, reverting ./composer.json and ./composer.lock to their original content. $ ./composer require 'drupal/jquery_ui_autocomplete:^ 2.0' ./composer.json has been updated Running composer update drupal/jquery_ui_autocomplete 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/jquery_ui_autocomplete ^2.0 -> satisfiable by drupal/jquery_ui_autocomplete[2.0.0]. - drupal/jquery_ui_autocomplete 2.0.0 requires drupal/jquery_ui ^1.6 -> found drupal/jquery_ui[1.6.0] but the package is fixed to 1.4.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command. Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions. Installation failed, reverting ./composer.json and ./composer.lock to their original content. $
now, my successes:
essentially these worked:
./composer require 'drupal/jquery_ui:^1.6.0' ./composer require 'drupal/jquery_ui_autocomplete:^2.0' ./composer require 'drupal/geolocation:^3.12'
full command output of above:
$ ./composer require 'drupal/jquery_ui_autocomplete:^2.0' ./composer.json has been updated Running composer update drupal/jquery_ui_autocomplete Loading composer repositories with package information Updating dependencies Lock file operations: 2 installs, 0 updates, 0 removals - Locking drupal/jquery_ui_autocomplete (2.0.0) - Locking drupal/jquery_ui_menu (2.0.0) Writing lock file Installing dependencies from lock file (including require-dev) Package operations: 2 installs, 0 updates, 0 removals - Downloading drupal/jquery_ui_menu (2.0.0) - Downloading drupal/jquery_ui_autocomplete (2.0.0) - Installing drupal/jquery_ui_menu (2.0.0): Extracting archive - Installing drupal/jquery_ui_autocomplete (2.0.0): Extracting archive Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead. Package symfony/debug is abandoned, you should avoid using it. Use symfony/error-handler instead. Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead. Generating autoload files 49 packages you are using are looking for funding. Use the `composer fund` command to find out more! $ ./composer require 'drupal/geolocation:^3.12' ./composer.json has been updated Running composer update drupal/geolocation Loading composer repositories with package information Updating dependencies Lock file operations: 1 install, 0 updates, 0 removals - Locking drupal/geolocation (3.12.0) Writing lock file Installing dependencies from lock file (including require-dev) Package operations: 1 install, 0 updates, 0 removals - Downloading drupal/geolocation (3.12.0) - Installing drupal/geolocation (3.12.0): Extracting archive Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead. Package symfony/debug is abandoned, you should avoid using it. Use symfony/error-handler instead. Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead. Generating autoload files 49 packages you are using are looking for funding. Use the `composer fund` command to find out more! $