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 fail each time to get packages #147

Closed
shamsher327 opened this issue Mar 16, 2020 · 1 comment
Closed

Composer fail each time to get packages #147

shamsher327 opened this issue Mar 16, 2020 · 1 comment

Comments

@shamsher327
Copy link

[vagrant@drupalvm d9readiness]$ composer global require mglaman/drupal-check
Changed current directory to /home/vagrant/.composer
1/3: http:https://repo.packagist.org/p/provider-latest$672c5983b730f1ac9b2ca88ba74aee0afc34880b274ee51d39593104ebe35b96.json
2/3: http:https://repo.packagist.org/p/provider-2019-10$cea3ef14f9acd62bbfc741837a1e174a0d2ac4059a1520005b7a09ff35f69636.json
3/3: http:https://repo.packagist.org/p/provider-2020-01$89e7ecf27ba656b8d527390eccfa8ef2f215b972b9e1ae69561299f7fed4c733.json
Finished: success: 3, skipped: 0, failure: 0, total: 3
Using version ^1.1 for mglaman/drupal-check
./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 mglaman/drupal-check ^1.1 -> satisfiable by mglaman/drupal-check[1.1.0].
- Conclusion: remove mglaman/phpstan-drupal 0.11.14
- Conclusion: don't install mglaman/phpstan-drupal 0.11.14
- mglaman/drupal-check 1.1.0 requires phpstan/phpstan-deprecation-rules ^0.12 -> satisfiable by phpstan/phpstan-deprecation-rules[0.12.0, 0.12.1, 0.12.2].
- phpstan/phpstan-deprecation-rules 0.12.0 conflicts with mglaman/phpstan-drupal[0.11.14].
- phpstan/phpstan-deprecation-rules 0.12.1 conflicts with mglaman/phpstan-drupal[0.11.14].
- phpstan/phpstan-deprecation-rules 0.12.2 conflicts with mglaman/phpstan-drupal[0.11.14].
- Installation request for mglaman/phpstan-drupal (locked at 0.11.14) -> satisfiable by mglaman/phpstan-drupal[0.11.14].

@mglaman
Copy link
Owner

mglaman commented Feb 5, 2022

Looks like phpstan-drupal was installed as well. Which means you don't need drupal-check. There was a conflict on root phpstan-drupal vs what drupal-check wanted.

@mglaman mglaman closed this as completed Feb 5, 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

2 participants