I tried to install using composer in Drupal 9
but I am getting following error

  Problem 1
    - Root composer.json requires drupal/drupalmoduleupgrader ^1.5 -> satisfiable by drupal/drupalmoduleupgrader[1.5.0].
    - drupal/drupalmoduleupgrader 1.5.0 requires grom358/pharborist dev-master -> found grom358/pharborist[dev-master] but it does not match your minimum-stability.

Any help?

Comments

senthilnz created an issue. See original summary.

senthilnz’s picture

Sorted
Changed minimum-stability to
"minimum-stability": "dev"

joseph.olstad’s picture

Thanks for reporting, BTW, 8.x-1.6 was tagged and released today

joseph.olstad’s picture

the testbot prefers stable also, however drupalmoduleupgrader requires 'dev' see the ci-job below
https://www.drupal.org/pift-ci-job/2085866

dru pal’s picture

I'm getting a very similar issue in 8.x-1.7 for Drupal 9.2.0

  Problem 1
    - Root composer.json requires drupal/drupalmoduleupgrader ^1.7 -> satisfiable by drupal/drupalmoduleupgrader[1.7.0].
    - drupal/drupalmoduleupgrader 1.7.0 requires jcnventura/pharborist dev-master -> found jcnventura/pharborist[dev-master] but it does not match your minimum-stability.
dru pal’s picture

Priority: Normal » Critical
Issue summary: View changes
joseph.olstad’s picture

@Dru Pal

adjust your composer.json

change "minimum-stability": "stable"

to "minimum-stability": "dev"

then run composer up drupal/drupalmoduleupgrader -w

damienmckenna’s picture

Component: Miscellaneous » Documentation
Priority: Critical » Normal

I opened #3223978: Note on project page that "minimum-stability" must be changed before spotting this issue; the project page should be updated to note this install step.

jimafisk’s picture

Changing "minimum-stability" from "stable to "dev" in composer.json worked, thanks!

gábor hojtsy’s picture

Status: Active » Fixed

The main project page also documents the minimum stability need (and has been for years). I now added it to the readme too.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.