为什么80%的码农都做不了架构师?>>>
这个错误是yii2框架的错误了。也就是说不能使用Object作为类名。
解决方法
1、composer install
2、composer global require "fxp/composer-asset-plugin:^1.4.1"
3、compser update
[root@localhost tmp]# composer update Loading composer repositories with package information Updating dependencies (including require-dev) Could not fetch https://api.github.com/repos/jquery/jquery-dist, please create a GitHub OAuth token to go over the API rate limit Head to https://github.com/settings/tokens/new?scopes=repo&description=Composer on localhost.localdomain 2018-02-22 1945 to retrieve a token. It will be stored in "/root/.composer/auth.json" for future use by Composer. Token (hidden):