Check if all module dependencies are met
-
02-10-2020 - |
سؤال
I recently disabled some modules and after an upgrade I feel that new dependencies got introduced (when disabling and re-enabling a custom module I got errors).
Is there a command to check if the current dependencies are all met?
المحلول
There's a command to show the dependencies not sure if it is exactly what you need but it can help:
php bin/magento info:dependencies:show-modules
for modules dependenciesphp bin/magento info:dependencies:show-modules-circular
for circular dependenciesphp bin/magento info:dependencies:show-framework
for Magento framework dependencies
نصائح أخرى
Try Using composer update --dry-run
لا تنتمي إلى magento.stackexchange