hzhihu
$ php yii install
Exception 'yii\base\InvalidConfigException' with message 'The configuration for the "log" component must contain a "__class" element.'in D:\Wnmp\html\yii2admin\vendor\yiisoft\yii2\di\ServiceLocator.php:206
Stack trace:
#0 D:\Wnmp\html\yii2admin\vendor\yiisoft\yii2\di\ServiceLocator.php(262): yii\di\ServiceLocator->set('log', Array)楼主,install直接提示这个错误。已composer install过。