I am trying to add modules to an existing commerce application. I always get messages that the versions do not match,
Drupal core 10.3.6
commerce Version: 8.x-2.40
Hint: It is a prebuild Theme (System) Ludwig was/is enabled, but I do not use Ludwig
admin/reports/updates: everything up to date except: Mailchimp 2.2.4
Error Example
Problem 1
- drupal/commerce[2.0.0, ..., 2.6.0] require drupal/address ~1.0 -> found drupal/address[1.0.0, ..., 1.12.0] but it conflicts with your root composer.json require (^2.0).
- drupal/commerce[2.7.0, ..., 2.12.0] require drupal/address ^1.4 -> found drupal/address[1.4.0, ..., 1.12.0] but it conflicts with your root composer.json require (^2.0).
- drupal/commerce 2.13.0 requires drupal/address ^1.6 -> found drupal/address[1.6.0, ..., 1.12.0] but it conflicts with your root composer.json require (^2.0).
- drupal/commerce[2.14.0, ..., 2.36.0] require drupal/address ^1.7 -> found drupal/address[1.7.0, ..., 1.12.0] but it conflicts with your root composer.json require (^2.0).
- drupal/commerce[2.17.0, ..., 2.18.0] require drupal/core ^8.7.7 || ^9 -> found drupal/core[8.7.7, ..., 8.9.20, 9.0.0, ..., 9.5.11] but the package is fixed to 10.3.6 (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[2.19.0, ..., 2.24.0] require drupal/core ^8.8 || ^9 -> found drupal/core[8.8.0, ..., 8.9.20, 9.0.0, ..., 9.5.11] but the package is fixed to 10.3.6 (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[2.25.0, ..., 2.28.0] require drupal/core ^8.9 || ^9 -> found drupal/core[8.9.0, ..., 8.9.20, 9.0.0, ..., 9.5.11] but the package is fixed to 10.3.6 (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[2.37.0, ..., 2.40.0] require drupal/inline_entity_form ^1.0@RC || ^3.0@RC -> found drupal/inline_entity_form[dev-1.x, dev-3.x, 1.0.0-alpha1, ..., 1.x-dev (alias of dev-1.x), 3.0.0-rc15, ..., 3.x-dev (alias of dev-3.x)] but it does not match your minimum-stability.
- drupal/commerce_stock 1.3.0 requires drupal/commerce ~2.0 -> satisfiable by drupal/commerce[2.0.0, ..., 2.40.0].
- Root composer.json requires drupal/commerce_stock ^1.3 -> satisfiable by drupal/commerce_stock[1.3.0].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
composer.json
{
"name": "drupal/legacy-project",
"description": "Project template for Drupal projects with composer following drupal/drupal layout",
"type": "project",
"license": "GPL-2.0-or-later",
"homepage": "https://www.drupal.org/project/drupal",
"support": {
"docs": "https://www.drupal.org/docs/user_guide/en/index.html",
"chat": "https://www.drupal.org/node/314178"
},
"repositories": [
{
"type": "composer",
"url": "https://packages.drupal.org/8"
}
],
"require": {
"commerceguys/intl": "^2.0",
"composer/installers": "^2.0",
"drupal/address": "^2.0",
"drupal/advanced_help_hint": "^2.0",
"drupal/anonymizer": "^3.1",
"drupal/asset_injector": "^2.21",
"drupal/checklistapi": "^2.1",
"drupal/content_access": "^2.0",
"drupal/cookies": "^1.2",
"drupal/core-composer-scaffold": "^10.2",
"drupal/core-project-message": "^10.2",
"drupal/core-recommended": "^10.2",
"drupal/core-vendor-hardening": "^10.2",
"drupal/devel_entity_updates": "^4.2",
"drupal/eu_cookie_compliance": "^1.25",
"drupal/facebook_pixel": "^2.0",
"drupal/fontyourface": "^4.0",
"drupal/gdpr": "^3.0",
"drupal/gdpr_compliance": "^1.11",
"drupal/google_analytics": "^4.0",
"drupal/google_tag": "^2.0",
"drupal/ivw_integration": "^2.6",
"drupal/language_switcher_extended": "^1.2",
"drupal/languageicons": "^2.0@beta",
"drupal/mailchimp": "^2.2",
"drupal/matomo": "^1.23",
"drupal/media_entity_instagram": "^3.0",
"drupal/media_entity_twitter": "^2.9",
"drupal/menu_item_role_access": "^2.4",
"drupal/menu_multilingual": "^2.0",
"drupal/nodeaccess": "^2.0@alpha",
"drupal/plugin": "^2.13",
"drupal/publication_date": "^2.0@beta",
"drupal/recaptcha": "^3.4",
"drupal/redirect_page_by_role": "^3.2",
"drupal/url_redirect": "^3.0",
"drupal/we_megamenu": "^1.16",
"drupal/webform": "^6.2",
"drush/drush": "^13.2",
"symfony/css-selector": "^7.1"
},
"conflict": {
"drupal/drupal": "*"
},
"minimum-stability": "stable",
"prefer-stable": true,
"config": {
"allow-plugins": {
"composer/installers": true,
"drupal/core-composer-scaffold": true,
"drupal/core-project-message": true,
"drupal/core-vendor-hardening": true,
"phpstan/extension-installer": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"php-http/discovery": true
},
"sort-packages": true,
"vendor-dir": "vendor"
},
"extra": {
"drupal-scaffold": {
"locations": {
"web-root": "./"
}
},
"installer-paths": {
"core": [
"type:drupal-core"
],
"libraries/{$name}": [
"type:drupal-library"
],
"modules/contrib/{$name}": [
"type:drupal-module"
],
"profiles/contrib/{$name}": [
"type:drupal-profile"
],
"themes/contrib/{$name}": [
"type:drupal-theme"
],
"drush/Commands/contrib/{$name}": [
"type:drupal-drush"
],
"modules/custom/{$name}": [
"type:drupal-custom-module"
],
"profiles/custom/{$name}": [
"type:drupal-custom-profile"
],
"themes/custom/{$name}": [
"type:drupal-custom-theme"
]
},
"drupal-core-project-message": {
"include-keys": [
"homepage",
"support"
],
"post-create-project-cmd-message": [
"<bg=blue;fg=white> </>",
"<bg=blue;fg=white> Congratulations, you’ve installed the Drupal codebase </>",
"<bg=blue;fg=white> from the drupal/legacy-project template! </>",
"<bg=blue;fg=white> </>",
"",
"<bg=yellow;fg=black>Next steps</>:",
" * Install the site: https://www.drupal.org/docs/installing-drupal",
" * Read the user guide: https://www.drupal.org/docs/user_guide/en/index.html",
" * Get support: https://www.drupal.org/support",
" * Get involved with the Drupal community:",
" https://www.drupal.org/getting-involved",
" * Remove the plugin that prints this message:",<code><code>
" composer remove drupal/core-project-message"
]
}
}
}
Active
2.40
Contributed modules