Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Can't install with composer #37

Closed
agarzon opened this issue Oct 26, 2016 · 3 comments
Closed

Can't install with composer #37

agarzon opened this issue Oct 26, 2016 · 3 comments

Comments

@agarzon
Copy link

agarzon commented Oct 26, 2016

Executed:
composer require --dev cakephp/codeception:dev-master

Get:

./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
    - cakephp/codeception dev-master requires codeception/codeception ~2.0.16 -> satisfiable by codeception/codeception[2.0.16].
    - Installation request for cakephp/codeception dev-master -> satisfiable by cakephp/codeception[dev-master].
    - Conclusion: remove symfony/console v3.1.5
    - Conclusion: don't install symfony/console v3.1.5
    - codeception/codeception 2.0.16 requires symfony/console ~2.4 -> satisfiable by symfony/console[v2.4.0, v2.4.0-BETA1, v2.4.0-BETA2, v2.4.0-RC1, v2.4.1, v2.4.10, v2.4.2, v2.4.3, v2.4.4, v2.4.5, v2.4.6, v2.4.7, v2.4.8, v2.4.9, v2.5.0, v2.5.0-BETA1, v2.5.0-BETA2, v2.5.0-RC1, v2.5.1, v2.5.10, v2.5.11, v2.5.12, v2.5.2, v2.5.3, v2.5.4, v2.5.5, v2.5.6, v2.5.7, v2.5.8, v2.5.9, v2.6.0, v2.6.0-BETA1, v2.6.0-BETA2, v2.6.1, v2.6.10, v2.6.11, v2.6.12, v2.6.13, v2.6.2, v2.6.3, v2.6.4, v2.6.5, v2.6.6, v2.6.7, v2.6.8, v2.6.9, v2.7.0, v2.7.0-BETA1, v2.7.0-BETA2, v2.7.1, v2.7.10, v2.7.11, v2.7.12, v2.7.13, v2.7.14, v2.7.15, v2.7.16, v2.7.17, v2.7.18, v2.7.19, v2.7.2, v2.7.3, v2.7.4, v2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9, v2.8.0, v2.8.0-BETA1, v2.8.1, v2.8.10, v2.8.11, v2.8.12, v2.8.2, v2.8.3, v2.8.4, v2.8.5, v2.8.6, v2.8.7, v2.8.8, v2.8.9].
    - Can only install one of: symfony/console[v2.8.0, v3.1.5].
    - Can only install one of: symfony/console[v2.8.0-BETA1, v3.1.5].
    - Can only install one of: symfony/console[v2.8.1, v3.1.5].
    - Can only install one of: symfony/console[v2.8.10, v3.1.5].
    - Can only install one of: symfony/console[v2.8.11, v3.1.5].
    - Can only install one of: symfony/console[v2.8.12, v3.1.5].
    - Can only install one of: symfony/console[v2.8.2, v3.1.5].
    - Can only install one of: symfony/console[v2.8.3, v3.1.5].
    - Can only install one of: symfony/console[v2.8.4, v3.1.5].
    - Can only install one of: symfony/console[v2.8.5, v3.1.5].
    - Can only install one of: symfony/console[v2.8.6, v3.1.5].
    - Can only install one of: symfony/console[v2.8.7, v3.1.5].
    - Can only install one of: symfony/console[v2.8.8, v3.1.5].
    - Can only install one of: symfony/console[v2.8.9, v3.1.5].
    - Can only install one of: symfony/console[v2.4.0, v3.1.5].
    - Can only install one of: symfony/console[v2.4.0-BETA1, v3.1.5].
    - Can only install one of: symfony/console[v2.4.0-BETA2, v3.1.5].
    - Can only install one of: symfony/console[v2.4.0-RC1, v3.1.5].
    - Can only install one of: symfony/console[v2.4.1, v3.1.5].
    - Can only install one of: symfony/console[v2.4.10, v3.1.5].
    - Can only install one of: symfony/console[v2.4.2, v3.1.5].
    - Can only install one of: symfony/console[v2.4.3, v3.1.5].
    - Can only install one of: symfony/console[v2.4.4, v3.1.5].
    - Can only install one of: symfony/console[v2.4.5, v3.1.5].
    - Can only install one of: symfony/console[v2.4.6, v3.1.5].
    - Can only install one of: symfony/console[v2.4.7, v3.1.5].
    - Can only install one of: symfony/console[v2.4.8, v3.1.5].
    - Can only install one of: symfony/console[v2.4.9, v3.1.5].
    - Can only install one of: symfony/console[v2.5.0, v3.1.5].
    - Can only install one of: symfony/console[v2.5.0-BETA1, v3.1.5].
    - Can only install one of: symfony/console[v2.5.0-BETA2, v3.1.5].
    - Can only install one of: symfony/console[v2.5.0-RC1, v3.1.5].
    - Can only install one of: symfony/console[v2.5.1, v3.1.5].
    - Can only install one of: symfony/console[v2.5.10, v3.1.5].
    - Can only install one of: symfony/console[v2.5.11, v3.1.5].
    - Can only install one of: symfony/console[v2.5.12, v3.1.5].
    - Can only install one of: symfony/console[v2.5.2, v3.1.5].
    - Can only install one of: symfony/console[v2.5.3, v3.1.5].
    - Can only install one of: symfony/console[v2.5.4, v3.1.5].
    - Can only install one of: symfony/console[v2.5.5, v3.1.5].
    - Can only install one of: symfony/console[v2.5.6, v3.1.5].
    - Can only install one of: symfony/console[v2.5.7, v3.1.5].
    - Can only install one of: symfony/console[v2.5.8, v3.1.5].
    - Can only install one of: symfony/console[v2.5.9, v3.1.5].
    - Can only install one of: symfony/console[v2.6.0, v3.1.5].
    - Can only install one of: symfony/console[v2.6.0-BETA1, v3.1.5].
    - Can only install one of: symfony/console[v2.6.0-BETA2, v3.1.5].
    - Can only install one of: symfony/console[v2.6.1, v3.1.5].
    - Can only install one of: symfony/console[v2.6.10, v3.1.5].
    - Can only install one of: symfony/console[v2.6.11, v3.1.5].
    - Can only install one of: symfony/console[v2.6.12, v3.1.5].
    - Can only install one of: symfony/console[v2.6.13, v3.1.5].
    - Can only install one of: symfony/console[v2.6.2, v3.1.5].
    - Can only install one of: symfony/console[v2.6.3, v3.1.5].
    - Can only install one of: symfony/console[v2.6.4, v3.1.5].
    - Can only install one of: symfony/console[v2.6.5, v3.1.5].
    - Can only install one of: symfony/console[v2.6.6, v3.1.5].
    - Can only install one of: symfony/console[v2.6.7, v3.1.5].
    - Can only install one of: symfony/console[v2.6.8, v3.1.5].
    - Can only install one of: symfony/console[v2.6.9, v3.1.5].
    - Can only install one of: symfony/console[v2.7.0, v3.1.5].
    - Can only install one of: symfony/console[v2.7.0-BETA1, v3.1.5].
    - Can only install one of: symfony/console[v2.7.0-BETA2, v3.1.5].
    - Can only install one of: symfony/console[v2.7.1, v3.1.5].
    - Can only install one of: symfony/console[v2.7.10, v3.1.5].
    - Can only install one of: symfony/console[v2.7.11, v3.1.5].
    - Can only install one of: symfony/console[v2.7.12, v3.1.5].
    - Can only install one of: symfony/console[v2.7.13, v3.1.5].
    - Can only install one of: symfony/console[v2.7.14, v3.1.5].
    - Can only install one of: symfony/console[v2.7.15, v3.1.5].
    - Can only install one of: symfony/console[v2.7.16, v3.1.5].
    - Can only install one of: symfony/console[v2.7.17, v3.1.5].
    - Can only install one of: symfony/console[v2.7.18, v3.1.5].
    - Can only install one of: symfony/console[v2.7.19, v3.1.5].
    - Can only install one of: symfony/console[v2.7.2, v3.1.5].
    - Can only install one of: symfony/console[v2.7.3, v3.1.5].
    - Can only install one of: symfony/console[v2.7.4, v3.1.5].
    - Can only install one of: symfony/console[v2.7.5, v3.1.5].
    - Can only install one of: symfony/console[v2.7.6, v3.1.5].
    - Can only install one of: symfony/console[v2.7.7, v3.1.5].
    - Can only install one of: symfony/console[v2.7.8, v3.1.5].
    - Can only install one of: symfony/console[v2.7.9, v3.1.5].
    - Installation request for symfony/console (locked at v3.1.5) -> satisfiable by symfony/console[v3.1.5].


Installation failed, reverting ./composer.json to its original content.

composer.json:

{
    "name": "cakephp/app",
    "description": "CakePHP skeleton app",
    "homepage": "http://cakephp.org",
    "type": "project",
    "license": "MIT",
    "require": {
        "php": ">=5.5.9",
        "cakephp/cakephp": "3.3.*",
        "mobiledetect/mobiledetectlib": "2.*",
        "cakephp/migrations": "~1.0",
        "cakephp/plugin-installer": "*",
        "friendsofcake/crud": "^4.3",
        "fzaninotto/faker": "^1.6",
        "almasaeed2010/adminlte": "~2.0",
        "friendsofcake/bootstrap-ui": "^0.5.1"
    },
    "require-dev": {
        "psy/psysh": "@stable",
        "cakephp/debug_kit": "~3.2",
        "cakephp/bake": "~1.1"
    },
    "suggest": {
        "markstory/asset_compress": "An asset compression plugin which provides file concatenation and a flexible filter system for preprocessing and minification.",
        "phpunit/phpunit": "Allows automated tests to be run without system-wide install.",
        "cakephp/cakephp-codesniffer": "Allows to check the code against the coding standards used in CakePHP."
    },
    "autoload": {
        "psr-4": {
            "App\\": "src"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "App\\Test\\": "tests",
            "Cake\\Test\\": "./vendor/cakephp/cakephp/tests"
        }
    },
    "scripts": {
        "post-install-cmd": "App\\Console\\Installer::postInstall",
        "post-create-project-cmd": "App\\Console\\Installer::postInstall",
        "post-autoload-dump": [
            "Cake\\Composer\\Installer\\PluginInstaller::postAutoloadDump",
            "cp -rf vendor/almasaeed2010/adminlte webroot/"
        ]
    },
    "minimum-stability": "beta",
    "prefer-stable": true
}
  • PHP 7.0.12
  • Cake 3.3.6
@lorenzo
Copy link
Member

lorenzo commented Nov 7, 2016

@jadb do you think you can give a look at this?

@pedro-stanaka
Copy link

👍 having same issue here...

@Naktibalda
Copy link

This issue can be closed too.

@agarzon agarzon closed this as completed Jul 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants