Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Composer error on install (guzzlehttp) #151

Open
SergejSi opened this issue Jul 8, 2020 · 1 comment
Open

Composer error on install (guzzlehttp) #151

SergejSi opened this issue Jul 8, 2020 · 1 comment

Comments

@SergejSi
Copy link

SergejSi commented Jul 8, 2020

Hey,

on trying to install the package, i receive the following composer error:

- Installation request for laracasts/integrated ^0.15.6 -> satisfiable by laracasts/integrated[0.15.6].
- Conclusion: remove guzzlehttp/guzzle 6.5.5
- Conclusion: don't install guzzlehttp/guzzle 6.5.5
- laracasts/integrated 0.15.6 requires fabpot/goutte ~2.0 -> satisfiable by fabpot/goutte[v2.0.0, v2.0.1, v2.0.2, v2.0.3, v2.0.4].
- fabpot/goutte v2.0.0 requires guzzlehttp/guzzle 4.* -> satisfiable by guzzlehttp/guzzle[4.x-dev].
- fabpot/goutte v2.0.1 requires guzzlehttp/guzzle 4.* -> satisfiable by guzzlehttp/guzzle[4.x-dev].
- fabpot/goutte v2.0.2 requires guzzlehttp/guzzle 4.* -> satisfiable by guzzlehttp/guzzle[4.x-dev].
- fabpot/goutte v2.0.3 requires guzzlehttp/guzzle >=4,<6 -> satisfiable by guzzlehttp/guzzle[4.x-dev, 5.3.x-dev].
- fabpot/goutte v2.0.4 requires guzzlehttp/guzzle >=4,<6 -> satisfiable by guzzlehttp/guzzle[4.x-dev, 5.3.x-dev].
- Can only install one of: guzzlehttp/guzzle[4.x-dev, 6.5.5].
- Can only install one of: guzzlehttp/guzzle[5.3.x-dev, 6.5.5].
- Installation request for guzzlehttp/guzzle (locked at 6.5.5, required as ^6.3) -> satisfiable by guzzlehttp/guzzle[6.5.5].

Do anyone know how to solve this?

@trondsundt
Copy link

trondsundt commented Aug 7, 2020

I am getting the same error

Using version ^0.15.6 for laracasts/integrated
./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
    - Installation request for laracasts/integrated ^0.15.6 -> satisfiable by laracasts/integrated[0.15.6].
    - Conclusion: remove guzzlehttp/guzzle 6.5.5
    - Conclusion: don't install guzzlehttp/guzzle 6.5.5
    - laracasts/integrated 0.15.6 requires fabpot/goutte ~2.0 -> satisfiable by fabpot/goutte[v2.0.0, v2.0.1, v2.0.2, v2.0.3, v2.0.4].
    - fabpot/goutte v2.0.0 requires guzzlehttp/guzzle 4.* -> satisfiable by guzzlehttp/guzzle[4.x-dev].
    - fabpot/goutte v2.0.1 requires guzzlehttp/guzzle 4.* -> satisfiable by guzzlehttp/guzzle[4.x-dev].
    - fabpot/goutte v2.0.2 requires guzzlehttp/guzzle 4.* -> satisfiable by guzzlehttp/guzzle[4.x-dev].
    - fabpot/goutte v2.0.3 requires guzzlehttp/guzzle >=4,<6 -> satisfiable by guzzlehttp/guzzle[4.x-dev, 5.3.x-dev].
    - fabpot/goutte v2.0.4 requires guzzlehttp/guzzle >=4,<6 -> satisfiable by guzzlehttp/guzzle[4.x-dev, 5.3.x-dev].
    - Can only install one of: guzzlehttp/guzzle[4.x-dev, 6.5.5].
    - Can only install one of: guzzlehttp/guzzle[5.3.x-dev, 6.5.5].
    - Installation request for guzzlehttp/guzzle (locked at 6.5.5, required as ^6.3) -> satisfiable by guzzlehttp/guzzle[6.5.5].


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

{
    "name": "laravel/laravel",
    "type": "project",
    "description": "The Laravel Framework.",
    "keywords": [
        "framework",
        "laravel"
    ],
    "license": "MIT",
    "require": {
        "php": "^7.2.5",
        "fideloper/proxy": "^4.2",
        "fruitcake/laravel-cors": "^2.0",
        "guzzlehttp/guzzle": "^6.3",
        "laravel/framework": "^7.22.2",
        "laravel/tinker": "^2.0",
        "laravel/ui": "^2.1"
    },
    "require-dev": {
        "facade/ignition": "^2.0",
        "fzaninotto/faker": "^1.9.1",
        "mockery/mockery": "^1.3.1",
        "nunomaduro/collision": "^4.1",
        "phpunit/phpunit": "^8.5"    
    },
    "config": {
        "optimize-autoloader": true,
        "preferred-install": "dist",
        "sort-packages": true
    },
    "extra": {
        "laravel": {
            "dont-discover": []
        }
    },
    "autoload": {
        "psr-4": {
            "App\\": "app/"
        },
        "classmap": [
            "database/seeds",
            "database/factories"
        ]
    },
    "autoload-dev": {
        "psr-4": {
            "Tests\\": "tests/"
        }
    },
    "minimum-stability": "dev",
    "prefer-stable": true,
    "scripts": {
        "post-autoload-dump": [
            "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
            "@php artisan package:discover --ansi"
        ],
        "post-root-package-install": [
            "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
        ],
        "post-create-project-cmd": [
            "@php artisan key:generate --ansi"
        ]
    }
}

Any help greatly appreciated! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants