I have installed latest version of Megento 2
, everything is working fine frontend, backend and functionality.
I have one issue with bin/magento setup:upgrade
command, when I run this command in terminal I get below exception .
[InvalidArgumentException]
There are no commands defined in the "setup" namespace.
Screenshot :
Is there any thing I missed during installation or I need to install some package to let it working?
Giving full control (read/write/execute) to var and pub directory should solve this issue.
sudo chmod -R 777 var pub
You may also try running the command using sudo.
sudo php bin/magento setup:upgrade
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With