Problem/Motivation
Background: I tried to install drupal commerce on latest Drupal 10 directly, and I can see Commerce Shipping 8.x-2.4 works with drupal 10.
Tried install via composer but failed
Error message as below:
---------------------------------------------------------------
Your requirements could not be resolved to an installable set of packages.
Problem 1
- drupal/physical[1.0.0-rc1, ..., 1.0.0] require drupal/core ^8 -> found drupal/core[8.0.0-beta6, ..., 8.9.x-dev] but the package is fixed to 10.0.1 (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/physical[1.1.0, ..., 1.x-dev] require drupal/core ^8.7.7 || ^9 -> found drupal/core[8.7.7, ..., 8.9.x-dev, 9.0.0-alpha1, ..., 9.5.x-dev] but the package is fixed to 10.0.1 (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/commerce_shipping[2.4.0, ..., 2.x-dev] require drupal/physical ^1.0 -> satisfiable by drupal/physical[1.0.0-rc1, ..., 1.x-dev].
- Root composer.json requires drupal/commerce_shipping ^2.4 -> satisfiable by drupal/commerce_shipping[2.4.0, 2.x-dev].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
-------------------------------------------------------
Sorry my first time to submit a issue, if I issue wrongly or install wrongly please kindly let me know. Thanks for support and contribute!
Tony
Issue fork commerce_shipping-3332816
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
ectony commentedComment #3
jsacksick commentedLooks like the Physical module is preventing the upgrade, it is now compatible with Drupal 10, could you try again?
Comment #4
ectony commentedNow can install via composer, and manually install from UI (sorry I found using drush usually have problem with my hosting, maybe I set up wrongly), showing error, after forced refresh, I can see the module enabled but cannot see it in the admin menu.
Comment #5
jsacksick commentedSo this is fixed?
Comment #6
ectony commentedSorry for late reply, no, as I suppose should shown in the admin menu?
Comment #7
jsacksick commentedWhat happens if you go to "admin/commerce/config/shipping"?