laracasts / Integrated

Simple, intuitive integration testing with PHPUnit.
https://laracasts.com/series/intuitive-integration-testing
MIT License
474 stars 87 forks source link

Composer error on install (guzzlehttp) #151

Open SergejSi opened 4 years ago

SergejSi commented 4 years ago

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 commented 4 years ago

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! :)