Not able to install with latest version of ui patterns

Created on 6 May 2024, over 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

Active

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 over 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 over 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 over 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.

  • Status changed to Closed: won't fix 6 days ago
  • Now that this issue is closed, please review the contribution record.

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

    Maintainers, please credit people who helped resolve this issue.

Production build 0.71.5 2024