Whenever I run the common commands I get this and similarly named errors:
[Symfony\Component\Console\Exception\CommandNotFoundException] There are no commands defined in the "deploy:mode" namespace.
Im using Magento 2.2.5
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
Try by enabling developer mode
php bin/magento deploy:mode:set developer
Run Following steps to check & then try again:
composer.jsonhas a syntax error.
I hope it helps!
It might be a permission issue. You can run these commands under your Magento directory :
sudo chmod 775 -R ./generated/ ./var/ ./pub/