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

Command icon 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

ectony created an issue. See original summary.

ectony’s picture

Title: Failed to install on Drupal 10 » Failed to install on Drupal 10 with 8.x-2.4
Issue summary: View changes
jsacksick’s picture

Looks like the Physical module is preventing the upgrade, it is now compatible with Drupal 10, could you try again?

ectony’s picture

Now 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.

jsacksick’s picture

Category: Bug report » Support request
Status: Active » Fixed

So this is fixed?

ectony’s picture

Sorry for late reply, no, as I suppose should shown in the admin menu?

jsacksick’s picture

What happens if you go to "admin/commerce/config/shipping"?

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

Neha Mahajan made their first commit to this issue’s fork.