Not able to install with latest version of ui patterns

Created on 6 May 2024, about 1 year ago
Updated 13 May 2024, about 1 year ago

Problem/Motivation

I'm running Drupal 10.2.5 and UI patterns 1.8, when trying to add pagedesigner module, I get following error

  Problem 1
    - drupal/pagedesigner[4.0.0-alpha1, ..., 4.0.0-alpha9] require drupal/ui_patterns ~1.5.0 -> found drupal/ui_patterns[1.5.0] but the package is fixed to 1.8.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - Root composer.json requires drupal/pagedesigner ^4.0@alpha -> satisfiable by drupal/pagedesigner[4.0.0-alpha1, ..., 4.0.0-alpha9].

This is because in composer,json file "drupal/ui_patterns": "~1.5.0", this needs to be changed to "drupal/ui_patterns": "^1.5.0"

🐛 Bug report
Status

Needs work

Version

4.0

Component

Code

Created by

🇩🇪Germany sharique

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @sharique
  • Status changed to Needs review about 1 year ago
  • 🇩🇪Germany sharique

    Here is a patch this, I removed ui_patterns_library from composer, as this is now moved to ui_patterns module.

  • Status changed to RTBC about 1 year ago
  • 🇧🇪Belgium oldeb Namur 🇧🇪

    Patch is applying correctly but I'm not able to test that everyting is working properly.

  • Status changed to Needs work about 1 year ago
  • 🇨🇭Switzerland pvbergen

    Thanks for raising this issue.
    You seem to have a different version of ui_patterns required in your lock file. You need to downgrade to ui_patterns:~1.5 to use pagedesigner.

    We fixed the version for pagedesigner as we encountered issues with 1.6 and higher.
    We would need tests to make sure that the change of the version of ui_patterns no longer breaks pagedesigner to lift the constraint here.

    As ui_patterns 2.x is in the works using SDC in core, we plan to update at the earliest once we have a stable 2.0 release of ui_patterns.

Production build 0.71.5 2024