When I run the server using php bin/console server:run I get the following error. There are no commands defined in the \"server\" namespace.
php bin/console server:run
There are no commands defined in the \"server\" namespace.
Since symfony 4.2 and newer, theres is some changes so, to works you have to do this :