You cannot run this command because modules are not enabled. You can enable modules by running the 'module:enable --all' command code example
Example: disable module magento 2
bin/magento module:enable
bin/magento module:enable