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

Can't install because no matching package found #511

Closed
ericheydrich opened this issue Sep 2, 2019 · 17 comments
Closed

Can't install because no matching package found #511

ericheydrich opened this issue Sep 2, 2019 · 17 comments

Comments

@ericheydrich
Copy link

Problem 1
- webflo/drupal-core-require-dev 8.8.x-dev requires behat/mink-selenium2-driver 1.3.x-dev -> no matching package found.
- webflo/drupal-core-require-dev 8.7.x-dev requires behat/mink-selenium2-driver 1.3.x-dev -> no matching package found.
- webflo/drupal-core-require-dev 8.7.6 requires behat/mink-selenium2-driver 1.3.x-dev -> no matching package found.
- webflo/drupal-core-require-dev 8.7.5 requires behat/mink-selenium2-driver 1.3.x-dev -> no matching package found.
- webflo/drupal-core-require-dev 8.7.4 requires behat/mink-selenium2-driver 1.3.x-dev -> no matching package found.
- webflo/drupal-core-require-dev 8.7.3 requires behat/mink-selenium2-driver 1.3.x-dev -> no matching package found.
- webflo/drupal-core-require-dev 8.7.2 requires behat/mink-selenium2-driver 1.3.x-dev -> no matching package found.
- webflo/drupal-core-require-dev 8.7.1 requires behat/mink-selenium2-driver 1.3.x-dev -> no matching package found.
- webflo/drupal-core-require-dev 8.7.0-rc1 requires behat/mink-selenium2-driver 1.3.x-dev -> no matching package found.
- webflo/drupal-core-require-dev 8.7.0-beta2 requires behat/mink-selenium2-driver 1.3.x-dev -> no matching package found.
- webflo/drupal-core-require-dev 8.7.0-beta1 requires behat/mink-selenium2-driver 1.3.x-dev -> no matching package found.
- webflo/drupal-core-require-dev 8.7.0-alpha2 requires behat/mink-selenium2-driver 1.3.x-dev -> no matching package found.
- webflo/drupal-core-require-dev 8.7.0-alpha1 requires behat/mink-selenium2-driver 1.3.x-dev -> no matching package found.
- webflo/drupal-core-require-dev 8.7.0 requires behat/mink-selenium2-driver 1.3.x-dev -> no matching package found.
- Installation request for webflo/drupal-core-require-dev ^8.7.0 -> satisfiable by webflo/drupal-core-require-dev[8.7.0, 8.7.0-alpha1, 8.7.0-alpha2, 8.7.0-beta1, 8.7.0-beta2, 8.7.0-rc1, 8.7.1, 8.7.2, 8.7.3, 8.7.4, 8.7.5, 8.7.6, 8.7.x-dev, 8.8.x-dev].

Potential causes:

@leymannx
Copy link
Collaborator

leymannx commented Sep 2, 2019

What command did you run exactly before you got this error? In what environment? Mac, Windows, Raspberry Pi?

@rodrigoaguilera
Copy link
Contributor

I think the problem is that the virtual branch 1.3.x-dev on behat/mink-selenium2-driver doesn't exist anymore because 1.4.0 was released.

Relevant issue
https://www.drupal.org/project/drupal/issues/3078671

@ericheydrich
Copy link
Author

I ran composer create-project drupal-composer/drupal-project:8.x-dev some-dir --no-interaction on Ubuntu with PHP 7.0 and in second try with PHP 7.2.

@bojanz
Copy link
Contributor

bojanz commented Sep 2, 2019

Also tracked in webflo/drupal-core-require-dev#14

@jamie-tillman
Copy link

FYI, I was able to get composer to complete by adding this to the composer.json after the first failure and running composer update:

"behat/mink-selenium2-driver": "dev-master as 1.3.x-dev"

Not a long term fix, obviously, but I needed me some Drupal8 now.

@rindevich
Copy link

rindevich commented Sep 2, 2019

same issue for me, doesn't possible to create new project.

"behat/mink-selenium2-driver": "dev-master as 1.3.x-dev" - solution

@piratawww
Copy link

FYI, I was able to get composer to complete by adding this to the composer.json after the first failure and running composer update:

"behat/mink-selenium2-driver": "dev-master as 1.3.x-dev"

Not a long term fix, obviously, but I needed me some Drupal8 now.

Works for me... Thx!!

@Cprofessionals
Copy link

FYI, I was able to get composer to complete by adding this to the composer.json after the first failure and running composer update:

"behat/mink-selenium2-driver": "dev-master as 1.3.x-dev"

Not a long term fix, obviously, but I needed me some Drupal8 now.

Works for me... Thx!!

Just for clarity, This line is to be put in the "required": section of the composer.json file.

Thanks piratawww. This worked great!

@Unifex
Copy link

Unifex commented Sep 3, 2019

The solution @jamie-tillman suggested worked for me too.

@CarlosRinconOmitsis
Copy link

CarlosRinconOmitsis commented Sep 3, 2019

The same and the solution @jamie-tillman suggesteds worked like a charm.

The code in my require section of composer.json:

"require": {
    "php": ">=5.6",
    "composer/installers": "^1.2",
    "cweagans/composer-patches": "^1.6.5",
    "drupal-composer/drupal-scaffold": "^2.5",
    "drupal/console": "^1.0.2",
    "drupal/core": "^8.7.0",
    "drush/drush": "^9.0.0",
    "vlucas/phpdotenv": "^2.4",
    "webflo/drupal-finder": "^1.0.0",
    "webmozart/path-util": "^2.3",
    "zaporylie/composer-drupal-optimizations": "^1.0",
    "behat/mink-selenium2-driver": "dev-master as 1.3.x-dev"
},

After edit composer.json: composer update --lock

eporama added a commit to eporama/eporama_com that referenced this issue Sep 3, 2019
@davehas1
Copy link

davehas1 commented Sep 3, 2019

It seems like every time I install D8 using drupal-composer/drupal-project I have to visit this issue queue to overcome the latest 'cant install' error!

Thanks @jamie-tillman for the temporary fix :)

@ghost
Copy link

ghost commented Sep 3, 2019

mink-selenium2-driver at version 1.3.1 now only on stable state. Ther's not version 1.3.dev - only 1.4.dev - at repo of this package

@ebremer
Copy link

ebremer commented Sep 3, 2019

@jamie-tillman solution worked for me too.

@greg-1-anderson
Copy link
Collaborator

This should be resolved now. behat/mink-selenium2-driver created a 1.3 branch, which should obviate the need to use these workarounds.

@mglaman
Copy link

mglaman commented Oct 3, 2019

^ the 1.3 branch exists, but still hitting this problem

@greg-1-anderson
Copy link
Collaborator

You need to use minimum-stability dev, or the workaround "behat/mink-selenium2-driver": "dev-master as 1.3.x-dev" for this to work.

It would be easier if the 1.4.0 release was available. The request for that is at: minkphp/MinkSelenium2Driver#269

@leymannx
Copy link
Collaborator

If someone's still having issues with this, try to replace webflo/drupal-core-require-dev with drupal/core-dev.

shawnbenito126 added a commit to shawnbenito126/awesome-drupal that referenced this issue Oct 20, 2022
rooksean916 added a commit to rooksean916/awesome-drupal-7-9 that referenced this issue Oct 21, 2022
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