Home > Backend Development > PHP Tutorial > windows安装yii2框架老是出现下面问题

windows安装yii2框架老是出现下面问题

WBOY
Release: 2016-06-06 20:30:05
Original
1105 people have browsed it

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"
这一行命令后又可以了,这条命令是作了更新操作吗??

回复内容:

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"
这一行命令后又可以了,这条命令是作了更新操作吗??

题主你可以试试这个:

<code>composer global require "fxp/composer-asset-plugin:1.0.3"

</code>
Copy after login

这个composer-asset-plugin是用composer来管理bower packages 和 npm packages的

刚刚好出了个系列教程:

http://segmentfault.com/blog/jellybool

具体安装可以看这个:

http://segmentfault.com/a/1190000003047525

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template