./bin/console server:run Surprise! There are no commands defined in the "server" namespace.

Let's start the built-in web server:

 
./bin/console server:run

Surprise!

There are no commands defined in the "server" namespace.

Remember: with Flex, you opt in to features. Run:

 
composer require server
 
 
 
参考:https://symfonycasts.com/screencast/symfony4-upgrade/server-isgranted

 

posted @ 2018-10-23 23:44  ldp.im  阅读(657)  评论(0编辑  收藏  举报