I have installed Magento version 2.1 without sample data. I have an issue regarding the command php bin/magento setup:upgrade
. It creates an error of
[InvalidArgumentException]: There are no commands defined in the "setup" namespace.
I have attempt all solutions but nothing works for me. Please sort out my issue.