FriendsOfBehat / SymfonyExtension

:musical_score: Extension integrating Behat with Symfony.
MIT License
472 stars 62 forks source link

composer error installing mink #128

Open I-Valchev opened 4 years ago

I-Valchev commented 4 years ago

composer require --dev friends-of-behat/mink friends-of-behat/mink-extension friends-of-behat/mink-browserkit-driver fails with:

Using version ^1.8 for friends-of-behat/mink
Using version ^2.4 for friends-of-behat/mink-extension
Using version ^1.4 for friends-of-behat/mink-browserkit-driver
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Restricting packages listed in "symfony/symfony" to "^4.4"
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - don't install friends-of-behat/mink v1.8.0|remove behat/mink v1.8.1
    - don't install friends-of-behat/mink v1.8.0|don't install behat/mink v1.8.1
    - don't install friends-of-behat/mink v1.8.0|don't install behat/mink v1.8.1
    - Installation request for friends-of-behat/mink ^1.8 -> satisfiable by friends-of-behat/mink[v1.8.0].
    - Installation request for behat/mink (locked at v1.8.1) -> satisfiable by behat/mink[v1.8.1].

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

composer.json doesn't have any behat or mink dependencies that are not from FriendsOfBehat. Any pointers what I'm breaking?

ymarillet commented 4 years ago

behat/mink v1.8.1 causes problems, 1.8.0 is ok at the moment

you can downgrade with following command: composer require --dev friends-of-behat/mink friends-of-behat/mink-extension friends-of-behat/mink-browserkit-driver behat/mink

pamil commented 4 years ago

@I-Valchev, did @ymarillet work well for you?