ECCUBE4

EC-CUBE4 There are no commands defined in the “server” namespace.

現象

EC-CUBE4インストール直後に、サーバー立ち上げコマンド「bin/console server:run」で「There are no commands defined in the “server” namespace.」が出た。

$ bin/console server:run

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

対策

.envを以下のように変更しましょう。

- APP_ENV=prod
- APP_DEBUG=0

+ APP_ENV=dev
+ APP_DEBUG=1

以上です。