Answer the question
In order to leave comments, you need to log in
How to fix the error when installing codeception?
When executing composer global require "codeception/codeception=2.0.*"
Crashes
./composer.json has been updated
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
- Conclusion: don't install codeception/codeception 2.0.16
- Conclusion: don't install codeception/codeception 2.0.15
- Conclusion: don't install codeception/codeception 2.0.14
- Conclusion: don't install codeception/codeception 2.0.13
- Conclusion: don't install codeception/codeception 2.0.12
- Conclusion: don't install codeception/codeception 2.0.11
- Conclusion: don't install codeception/codeception 2.0.10.1
- Conclusion: don't install codeception/codeception 2.0.10
- Conclusion: don't install codeception/codeception 2.0.9
- Conclusion: don't install codeception/codeception 2.0.8
- Conclusion: don't install codeception/codeception 2.0.7
- Conclusion: don't install codeception/codeception 2.0.6
- Conclusion: don't install codeception/codeception 2.0.5
- Conclusion: don't install codeception/codeception 2.0.4
- Conclusion: don't install codeception/codeception 2.0.3
- Conclusion: don't install codeception/codeception 2.0.2
- Conclusion: don't install codeception/codeception 2.0.1
- Conclusion: remove guzzlehttp/streams 3.0.0
- Installation request for facebook/webdriver == 1.0.2.0 -> satisfiable by facebook/
webdriver[1.0.2].
- Installation request for codeception/codeception 2.0.* -> satisfiable by codecepti
on/codeception[2.0.0, 2.0.1, 2.0.10, 2.0.10.1, 2.0.11, 2.0.12, 2.0.13, 2.0.14, 2.0.15, 2
.0.16, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.0.8, 2.0.9].
- Conclusion: don't install guzzlehttp/streams 3.0.0
- codeception/codeception 2.0.0 requires guzzlehttp/guzzle 4.* -> satisfiable by guz
zlehttp/guzzle[4.0.0, 4.0.1, 4.0.2, 4.1.0, 4.1.1, 4.1.2, 4.1.3, 4.1.4, 4.1.5, 4.1.6, 4.1
.7, 4.1.8, 4.2.0, 4.2.1, 4.2.2, 4.2.3].
- guzzlehttp/guzzle 4.0.0 requires guzzlehttp/streams 1.* -> satisfiable by guzzleht
tp/streams[1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 1.5.1].
- guzzlehttp/guzzle 4.0.1 requires guzzlehttp/streams ~1.0 -> satisfiable by guzzleh
ttp/streams[1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 1.5.1].
- guzzlehttp/guzzle 4.0.2 requires guzzlehttp/streams ~1.0 -> satisfiable by guzzleh
ttp/streams[1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 1.5.1].
- guzzlehttp/guzzle 4.1.0 requires guzzlehttp/streams ~1.0 -> satisfiable by guzzleh
ttp/streams[1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 1.5.1].
- guzzlehttp/guzzle 4.1.1 requires guzzlehttp/streams ~1.0 -> satisfiable by guzzleh
ttp/streams[1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 1.5.1].
- guzzlehttp/guzzle 4.1.2 requires guzzlehttp/streams ~1.0 -> satisfiable by guzzleh
ttp/streams[1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 1.5.1].
- guzzlehttp/guzzle 4.1.3 requires guzzlehttp/streams ~1.3 -> satisfiable by guzzleh
ttp/streams[1.3.0, 1.4.0, 1.5.0, 1.5.1].
- guzzlehttp/guzzle 4.1.4 requires guzzlehttp/streams ~1.4 -> satisfiable by guzzleh
ttp/streams[1.4.0, 1.5.0, 1.5.1].
- guzzlehttp/guzzle 4.1.5 requires guzzlehttp/streams ~1.4 -> satisfiable by guzzleh
ttp/streams[1.4.0, 1.5.0, 1.5.1].
- guzzlehttp/guzzle 4.1.6 requires guzzlehttp/streams ~1.4 -> satisfiable by guzzleh
ttp/streams[1.4.0, 1.5.0, 1.5.1].
- guzzlehttp/guzzle 4.1.7 requires guzzlehttp/streams ~1.4 -> satisfiable by guzzleh
ttp/streams[1.4.0, 1.5.0, 1.5.1].
- guzzlehttp/guzzle 4.1.8 requires guzzlehttp/streams ~1.4 -> satisfiable by guzzleh
ttp/streams[1.4.0, 1.5.0, 1.5.1].
- guzzlehttp/guzzle 4.2.0 requires guzzlehttp/streams ~2.1 -> satisfiable by guzzleh
ttp/streams[2.1.0].
- guzzlehttp/guzzle 4.2.1 requires guzzlehttp/streams ~2.1 -> satisfiable by guzzleh
ttp/streams[2.1.0].
- guzzlehttp/guzzle 4.2.2 requires guzzlehttp/streams ~2.1 -> satisfiable by guzzleh
ttp/streams[2.1.0].
- guzzlehttp/guzzle 4.2.3 requires guzzlehttp/streams ~2.1 -> satisfiable by guzzleh
ttp/streams[2.1.0].
- Can only install one of: guzzlehttp/streams[1.0.0, 3.0.0].
- Can only install one of: guzzlehttp/streams[1.1.0, 3.0.0].
- Can only install one of: guzzlehttp/streams[1.2.0, 3.0.0].
- Can only install one of: guzzlehttp/streams[1.3.0, 3.0.0].
- Can only install one of: guzzlehttp/streams[1.4.0, 3.0.0].
- Can only install one of: guzzlehttp/streams[1.5.0, 3.0.0].
- Can only install one of: guzzlehttp/streams[1.5.1, 3.0.0].
- Can only install one of: guzzlehttp/streams[2.1.0, 3.0.0].
- Installation request for guzzlehttp/streams == 3.0.0.0 -> satisfiable by guzzlehtt
p/streams[3.0.0].
Installation failed, reverting ./composer.json to its original content.
{
"name": "yiisoft/yii2-app-advanced",
"description": "Yii 2 Advanced Application Template",
"keywords": ["yii2", "framework", "advanced", "application template"],
"homepage": "http://www.yiiframework.com/",
"type": "project",
"license": "BSD-3-Clause",
"support": {
"issues": "https://github.com/yiisoft/yii2/issues?state=open",
"forum": "http://www.yiiframework.com/forum/",
"wiki": "http://www.yiiframework.com/wiki/",
"irc": "irc://irc.freenode.net/yii",
"source": "https://github.com/yiisoft/yii2"
},
"minimum-stability": "stable",
"require": {
"php": ">=5.4.0",
"yiisoft/yii2": "*",
"yiisoft/yii2-bootstrap": "*",
"yiisoft/yii2-swiftmailer": "*",
"yiisoft/yii2-twig": "~2.0.0",
"bower-asset/html5shiv": "*",
"bower-asset/respond": "*",
"yiisoft/yii2-authclient": "~2.0",
"schmunk42/yii2-giiant": "*",
"2amigos/yii2-ckeditor-widget": "~1.0",
"pahanini/yii2-curl": "*",
"olamedia/nokogiri": "*",
"kartik-v/yii2-widget-select2": "*",
"kartik-v/yii2-widgets": "*",
"soundasleep/html2text": "~0.2",
"querypath/QueryPath": ">=3.0.0",
"yurkinx/yii2-image": "dev-master",
"elboletaire/watimage": "*",
"dmstr/yii2-adminlte-asset": "2.*",
"jumper423/yii2-widget-sidenav": "dev-master",
"jumper423/Gallery" : "dev-master",
"jumper423/javascript-templates" : "dev-master",
"jumper423/javascript-canvas-to-blob" : "dev-master",
"jumper423/javascript-load-image" : "dev-master",
"blueimp/jQuery-File-Upload": "*",
"jumper423/yii2-images": "dev-master",
"justinvoelker/yii2-awesomebootstrapcheckbox": "*",
"kartik-v/yii2-widget-fileinput": "*",
"yiisoft/yii2-imagine": "^2.0",
"bower-asset/imagesloaded": "*",
"bower-asset/bootstrap-vertical-tabs": "*"
},
"require-dev": {
"yiisoft/yii2-codeception": "^2.0",
"yiisoft/yii2-debug": "*",
"yiisoft/yii2-gii": "*",
"yiisoft/yii2-faker": "*"
},
"config": {
"process-timeout": 1800
},
"extra": {
"asset-installer-paths": {
"npm-asset-library": "vendor/npm",
"bower-asset-library": "vendor/bower"
}
}
}
Answer the question
In order to leave comments, you need to log in
This error occurs because version 2.1.* is installed.
Therefore, first remove the current one
and then install the required version
composer global require "codeception/codeception=2.0.*"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question