Problem/Motivation

install with MAPMP pro

Problem 1
- Root composer.json requires localgovdrupal/localgov 3.x -> satisfiable by localgovdrupal/localgov[3.x-dev].
- Conclusion: don't install drupal/core 10.0.0-alpha3 (conflict analysis result)
- Conclusion: don't install drupal/core 10.0.0-alpha4 (conflict analysis result)
- Conclusion: don't install drupal/core 10.0.0-alpha5 (conflict analysis result)
- Conclusion: don't install drupal/core 10.0.0-alpha6 (conflict analysis result)
- Conclusion: don't install drupal/core 10.0.0-alpha7 (conflict analysis result)
- localgovdrupal/localgov 3.x-dev requires localgovdrupal/localgov_openreferral ^1.0.0 -> satisfiable by localgovdrupal/localgov_openreferral[1.0.0-beta1, ..., 1.x-dev].
- localgovdrupal/localgov_openreferral[1.0.0-beta1, ..., 1.x-dev] require drupal/core ^9.1 -> satisfiable by drupal/core[9.1.0-alpha1, ..., 9.5.x-dev].
- You can only install one version of a package, so only one of these can be installed: drupal/core[8.0.0-beta6, ..., 8.9.x-dev, 9.0.0-alpha1, ..., 9.5.x-dev, 10.0.0-alpha1, ..., 10.1.x-dev].
- You can only install one version of a package, so only one of these can be installed: drupal/core[8.7.0-alpha1, ..., 8.9.x-dev, 9.0.0-alpha1, ..., 9.5.x-dev, 10.0.0-alpha1, ..., 10.1.x-dev].
- localgovdrupal/localgov 3.x-dev requires drupal/core ^10.0.0-alpha3 -> satisfiable by drupal/core[10.0.0-alpha3, ..., 10.1.x-dev].
- Conclusion: don't install drupal/core 10.1.x-dev (conflict analysis result)

Steps to reproduce

composer create-project --stability dev localgovdrupal/localgov-project localgov

Comments

yabikami created an issue. See original summary.

ekes’s picture

You seem to be trying to install version 3.x of LocalGov Drupal. It's the branch where work is being done for Drupal 10 for the future, but won't install yet. The current version of LocalGov Drupal is 2.x, at the moment 2.3.11

There's some detailed install instructions on the github page https://github.com/localgovdrupal/localgov

opdavies’s picture

I had the same issue following the instructions on the Drupal.org and GitHub pages:

composer create-project --stability dev localgovdrupal/localgov-project

This installed the 3.x version as described.

I was able to force the use of version 2 by specifying the version within the Composer command:

composer create-project --stability dev localgovdrupal/localgov-project:^2 localgov

With this added, the 2.x version was installed successfully.

Alternatively, the --stability option could be changed from dev:

composer create-project --stability stable localgovdrupal/localgov-project

This also installs the 2.x branch.

keelanfh’s picture

Status: Active » Fixed

Composer commands now updated.

Status: Fixed » Closed (fixed)

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