执行composer create-project 报错 [ 2.0 版本 ]
执行composer create-project yiisoft/yii2-app-advanced advanced 2.0.13 报如下错误
composer global require "fxp/composer-asset-plugin:^1.4.0"
Changed current directory to /Users/chenqi/.composer
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Writing lock file
Generating autoload files
composer create-project yiisoft/yii2-app-advanced app
Installing yiisoft/yii2-app-advanced (2.0.13)
- Installing yiisoft/yii2-app-advanced (2.0.13): Downloading (100%)
Created project in studio_app
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- yiisoft/yii2-gii 2.0.6 requires phpspec/php-diff >=1.0.2 -> satisfiable by phpspec/php-diff[dev-master, 1.0.x-dev] but these conflict with your requirements or minimum-stability.
- yiisoft/yii2-gii 2.0.5 requires phpspec/php-diff >=1.0.2 -> satisfiable by phpspec/php-diff[dev-master, 1.0.x-dev] but these conflict with your requirements or minimum-stability.
- yiisoft/yii2-gii 2.0.4 requires phpspec/php-diff >=1.0.2 -> satisfiable by phpspec/php-diff[dev-master, 1.0.x-dev] but these conflict with your requirements or minimum-stability.
- yiisoft/yii2-gii 2.0.3 requires phpspec/php-diff >=1.0.2 -> satisfiable by phpspec/php-diff[dev-master, 1.0.x-dev] but these conflict with your requirements or minimum-stability.
- yiisoft/yii2-gii 2.0.2 requires phpspec/php-diff >=1.0.2 -> satisfiable by phpspec/php-diff[dev-master, 1.0.x-dev] but these conflict with your requirements or minimum-stability.
- yiisoft/yii2-gii 2.0.1 requires phpspec/php-diff >=1.0.2 -> satisfiable by phpspec/php-diff[dev-master, 1.0.x-dev] but these conflict with your requirements or minimum-stability.
- yiisoft/yii2-gii 2.0.0 requires phpspec/php-diff >=1.0.2 -> satisfiable by phpspec/php-diff[dev-master, 1.0.x-dev] but these conflict with your requirements or minimum-stability.
- Installation request for yiisoft/yii2-gii ~2.0.0 -> satisfiable by yiisoft/yii2-gii[2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6].
这个什么情况
安装前执行过 composer global require "fxp/composer-asset-plugin:~1.4.0"
下载下来项目中没有vendor目录
共 1 个回答
acking 上海
注册时间:2012-05-16
最后登录:2024-05-25
在线时长:65小时55分
最后登录:2024-05-25
在线时长:65小时55分
- 粉丝13
- 金钱2565
- 威望0
- 积分3215