drupaldrupal-modules

Drupal Module Upgrade Conflict Address & Commerce


I am facing an issue while trying to upgrade drupal module due to module dependencies on other module.

composer require 'drupal/address:^2.0'
composer require 'drupal/commerce:^2.38'

when i try to run one of above command, it failed due to conflict issue because these modules have dependencies on each other on specific version.

enter image description here

enter image description here

can you guide me how can i resolve these issue?

I have tried composer require 'drupal/commerce:^2.38' -W (with all dependencies) but same issue. And when i run composer update 'drupal/commerce' -W , it just update some other package but do not resolve my issue enter image description here


Solution

  • This issue got resolved from below command suggested by @johnsmith

    composer require 'drupal/commerce:^2.38' 'drupal/address:^2.0' -W