Closed
Description
Preconditions (*)
- Magento 2.3.x
Steps to reproduce (*)
- Have a module with a wrong path in registration.php. For example set the path in vendor/magento/module-catalog/registration.php to
__DIR__ . '/wrong_folder'
- Run
bin/magento setup:upgrade
Expected result (*)
- A clear exception what actually goes wrong. Instead the general error
There are no commands defined in the "setup" namespace.
is displayed.
Actual result (*)
- The general error
There are no commands defined in the "setup" namespace.
is displayed.
Also see: #4832