The current available smart ip module for Drupal 10 is 5.0.0-alpha3
and when trying to use composer require 'drupal/smart_ip_locale:^2.0' it throws the following error:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- drupal/smart_ip_locale[2.0.0, ..., 2.0.x-dev] require drupal/smart_ip ~3.0 || ~4.0 -> found drupal/smart_ip[3.0.0-alpha1, ..., 3.10.0, 4.0.0, 4.1.0, 4.2.0] but it conflicts with your root composer.json require (^5.0@alpha).
- Root composer.json requires drupal/smart_ip_locale ^2.0 -> satisfiable by drupal/smart_ip_locale[2.0.0, 2.0.1, 2.0.x-dev].
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/smart_ip_locale:^2.0] failed, composer command failed: exit status 2. stderr=
Comments
Comment #2
rajab natshah#3395957: Fix Drupal 10 compatibility
Comment #3
rajab natshahComment #4
rajab natshahComment #6
rajab natshahComment #7
rajab natshahComment #8
rajab natshahComment #9
rajab natshah✅ Released smart_ip_locale-2.0.2
Comment #11
rgnyldz commentedSmart ip is on 5.0.0-alpha3 now. So this module cannot be installed.