我鼓勵同樣的困難描述:http://www.yiiframework.com/forum/index.php/topic/57532-streng-behavior-from-composer/奇怪的行爲從作曲再次
我跟所有的提示,但現在我不能克服:
[Composer\DependencyResolver\SolverProblemsException]
Problem 1
- Installation request for yiisoft/yii2-bootstrap * -> satisfiable by yiisoft/yii2-bootstrap[dev-master].
- yiisoft/yii2-bootstrap dev-master requires bower-asset/bootstrap 3.2.* -> no matching package found.
Problem 2
- Installation request for yiisoft/yii2 * -> satisfiable by yiisoft/yii2[dev-master].
- yiisoft/yii2 dev-master requires bower-asset/jquery 1.11.* | 2.1.* -> no matching package f
ound.
Problem 3
- yiisoft/yii2 dev-master requires bower-asset/jquery 1.11.* | 2.1.* -> no matching package found.
- yiisoft/yii2-debug dev-master requires yiisoft/yii2 * -> satisfiable by yiisoft/yii2[dev-master].
- Installation request for yiisoft/yii2-debug * -> satisfiable by yiisoft/yii2-debug[dev-master].
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability seting see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.
Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
我作曲文件:
"minimum-stability": "dev",
"require": {
"php": ">=5.4.0",
"yiisoft/yii2-bootstrap": "*",
"yiisoft/yii2-swiftmailer": "*",
"vova07/yii2-rbac-module": "dev-master",
"kartik-v/yii2-widgets": "dev-master",
"2amigos/yii2-file-upload-widget" : "*",
"nex/yii2-chosen": "dev-master",
"filsh/yii2-flags": "dev-master",
"zelenin/yii2-summernote-widget": "0.0.1",
"2amigos/yii2-highcharts-widget": "0.1.0",
"kartik-v/yii2-helpers": "dev-master",
"kartik-v/yii2-builder": "dev-master",
"kartik-v/yii2-grid": "*",
"kartik-v/yii2-dropdown-x": "*",
"kartik-v/yii2-nav-x": "*",
"kartik-v/yii2-detail-view": "dev-master",
"yiisoft/yii2": "*",
"yiisoft/yii2-debug": "*",
"bower-asset/bootstrap": "3.2.*"
},
"require-dev": {
"yiisoft/yii2-codeception": "*",
"yiisoft/yii2-gii": "*"
},
我試過「bower-asset/bootstrap」:「*」有或沒有這個(和其他包)。沒有工作。
與我相同的問題是一個重複的問題。 問題在這裏啓動 https://github.com/yiisoft/yii2/issues/5060 和git hub http://stackoverflow.com/questions/25884038/yii2-error-yii-base-unknownmethodexception-calling- unknown-method-yii-web-url 對我沒有解決方案 – Kshitiz 2014-09-19 11:05:36
您必須下載Yii的最新開發版本。那是有意的嗎?如果不是,則使用'composer create-project -prefer-dist yiisoft/yii2-app-basic basic'來安裝穩定版本。 – 2014-09-19 11:36:09
https://github.com/yiisoft/yii2/issues/5107#issuecomment-56160214 – Kshitiz 2014-09-19 11:57:59