- Issue created by @jimmb
- πΊπΈUnited States jimmb
Also, from the Composer info, I tried running
composer require wikimedia/composer-merge-plugin:*
. That output this:Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires douglascrockford/json2 *, found douglascrockford/json2[dev-master] but it does not match your minimum-stability. Problem 2 - Root composer.json requires malsup/jquery.cycle *, found malsup/jquery.cycle[3.0.3-a] but it does not match your minimum-stability. Problem 3 - Root composer.json requires tobia/jquery.pause *, found tobia/jquery.pause[dev-master] but it does not match your minimum-stability.
I can't be the first person having this problem, so I'm sure a solution exists and we just need to be made aware of it.
- πΊπΈUnited States jimmb
Well, I found that putting the "composer.json" stability at "dev" was the only way to get these libraries to install. It would be nice to include that in the documentation. And since it's apparently undesirable to have a project with the stability at "dev", it'd be even better to include an example command that installs just those libraries at "dev" while leaving "stable" in place for everything else. That would really be good to know how to do from your README.
Also, I found that running
composer require wikimedia/composer-merge-plugin
only installs 3 of the 4 libraries that are needed. For me at least, jQuery HoverIntent was not installed. So the documentation should also include this info. and provide a recommended way to install that.And since then it seems like you need to do some manual installation anyway, maybe it's better to just install everything manually using the drush commands in the README? That way, presumably, the default stability could remain at "stable.
So again, the documentation should really be updated to help the average low-code user still be able to use this module without having to spend days trying to figure all this stuff out (and then still not really know what to do).
- π¬π§United Kingdom nigelwhite Marsden
Yes, that would be helpful. If some kind person who has got through this step could detail a solution that would be great.
imagine needing to install jquery to get a slider to work in 2024. Oh right we're still using drupal.