F:wampwwwadvanced>composer require dmstr/yii2-adminlte-asset "2.*"
The "yiisoft/yii2-composer" plugin was skipped because it requires a Plugin API
version ("1.0.0") that does not match your Composer installation ("1.1.0"). You
may need to run composer update with the "--no-plugins" option.
./composer.json has been updated
The "yiisoft/yii2-composer" plugin was skipped because it requires a Plugin API
version ("1.0.0") that does not match your Composer installation ("1.1.0"). You
may need to run composer update with the "--no-plugins" option.
Loading composer repositories with package information
Updating dependencies (including require-dev)
yii2-adminlte-asset
6
1173
2016-08-01
because it requires a Plugin API version ("1.0.0") that does not match your Composer installation ("1.1.0").You may need to run composer update with the "--no-plugins" option.执行 composer update yiisoft/yii2-composer命令,获取最新的plugin版本
F:wampwwwadvanced>composer update yiisoft/yii2-composer The "yiisoft/yii2-composer" plugin was skipped because it requires a Plugin API version ("1.0.0") that does not match your Composer installation ("1.1.0"). You may need to run composer update with the "--no-plugins" option. Loading composer repositories with package information Updating dependencies (including require-dev)
分别执行 composer self-update composer update
F:wampwwwadvanced>composer self-update The "yiisoft/yii2-composer" plugin was skipped because it requires a Plugin API version ("1.0.0") that does not match your Composer installation ("1.1.0"). You may need to run composer update with the "--no-plugins" option. You are already using composer version 1.2.0 (stable channel).
F:wampwwwadvanced>composer update The "yiisoft/yii2-composer" plugin was skipped because it requires a Plugin API version ("1.0.0") that does not match your Composer installation ("1.1.0"). You may need to run composer update with the "--no-plugins" option. Loading composer repositories with package information Updating dependencies (including require-dev)
composer self-update --no-plugins不行composer卸载重装得了
/委屈