windows安装yii2框架老是出现下面问题
Problem 1
- yiisoft/yii2 2.0.3 requires bower-asset/jquery 2.1.
@stable | 1.11.
@stabl
e -> no matching package found.
- yiisoft/yii2 2.0.2 requires bower-asset/jquery 2.1.
@stable | 1.11.
@stabl
e -> no matching package found.
- yiisoft/yii2 2.0.1 requires bower-asset/jquery 2.1.
@stable | 1.11.
@stabl
e -> no matching package found.
- yiisoft/yii2 2.0.0 requires bower-asset/jquery 2.1.
@stable | 1.11.
@stabl
e -> no matching package found.
- Installation request for yiisoft/yii2 * -> satisfiable by yiisoft/yii2[2.0
.0, 2.0.1, 2.0.2, 2.0.3].
但是执行了:
composer global require "fxp/composer-asset-plugin:1.0.0-beta4"
这一行命令后又可以了,这条命令是作了更新操作吗??
Answers
题主你可以试试这个:
composer global require "fxp/composer-asset-plugin:1.0.3"
这个
composer-asset-plugin
是用composer来管理bower packages 和 npm packages的
刚刚好出了个系列教程:
http://segmentfault.com/blog/jellybool
具体安装可以看这个: