composer install wikimedia/composer-merge-plugin -> "does not match your minimum-stability"

Created on 14 September 2023, about 1 year ago
Updated 4 December 2023, 12 months ago

Problem/Motivation

Failed to install with composer as it is described in readme.md

Steps to reproduce

I am running Drupal core 10.1.3 and have installed Views slideshow 5.0.0
I pasted
"installer-paths": {
"web/libraries/{$name}": [
"type:bower-asset",
"type:npm-asset",
"type:drupal-library"
]
},
"merge-plugin": {
"include": [
"web/modules/contrib/views_slideshow/composer.libraries.json",
"web/modules/contrib/views_slideshow/modules/views_slideshow_cycle/composer.libraries.json"
]
},
into Extra-section
and then ran composer require wikimedia/composer-merge-plugin

It failed because the requested jquery did not match the minimum stability (stable)
Do I have to change this to dev?

WORKAROUND

drush dl-cycle-lib instead of using composer for the libraries.

💬 Support request
Status

Closed: works as designed

Version

5.0

Component

Code

Created by

🇸🇪Sweden chrotto

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

Comments & Activities

  • Issue created by @chrotto
  • 🇸🇪Sweden chrotto

    I have now changed to dev as minimum stability so I can do the installation.
    Can this cause problems in coming installations when using Composer?

  • 🇳🇱Netherlands firfin

    Changing your projects minimum-stability to dev is a workaround at best I think. Running a production site with minimum-stability anything less than stable is asking for trouble IMO.

    Personally I would rather install the needed JS libraries using: drush dl-cycle-lib

    Somehow that option has disappeared from the documentation, addressing that in https://www.drupal.org/project/views_slideshow/issues/3405728 🐛 Updating documentation Needs work

    Don't know if we truly need dev versions of the JS libraries, that is a question better suited to the maintainers or other JS/library experts. But requiring those is a problem with composer.

  • Status changed to Closed: works as designed 12 months ago
  • 🇮🇳India Vivek Panicker Kolkata

    This is not an issue of this module.
    It is requiring some package which is not in fully stable version.

    When working on a project, we encounter many such packages which have dev stability version.

    So we have no option but to set "dev" stability version.

    Closing this ticket as this is not module related.

Production build 0.71.5 2024