- Issue created by @sclsweb
- 🇫🇷France mably
Can be fixed by adding
||^2.0
in thecomposer.librairies.json
require
section:"require": { "composer/installers": "^1.2.0||^2.0" }
- 🇮🇳India sumit-k
Replicated the same issue. #3 solution is working fine, adding a patch for the same changes.
- Status changed to Needs review
over 1 year ago 10:22am 26 July 2023 - 🇮🇳India Dheeraj Jhamtani Jaipur, Rajasthan
Hi @mably , which version of drupal you are using because i am not getting this error at my end with drupal 10
-
Daniel.Moberly →
committed 8fe2fcd3 on 8.x-2.x authored by
sumit-k →
Issue #3371188 by sumit-k: Problem installing fontawesome library via...
-
Daniel.Moberly →
committed 8fe2fcd3 on 8.x-2.x authored by
sumit-k →
- Status changed to Fixed
over 1 year ago 4:04pm 26 July 2023 - 🇫🇷France mably
@dheeraj-jhamtani I was on latest Drupal 10.1 I think.
I hade the problem because I have a custom composer configuration using
merge-plugin
that adds all dependencies it can find for every module existingcomposer.libraries.json
file.Something looking like this:
"extra": { "merge-plugin": { "include": [ "web/modules/contrib/*/composer.libraries.json", "web/modules/custom/*/composer.libraries.json",
No error without this specific configuration as, by default, composer won't parse the
composer.libraries.json
file. Automatically closed - issue fixed for 2 weeks with no activity.
- 🇺🇸United States sbubaron
Having same issue but now with composer/installers v2.2:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires fontawesome/fontawesome 6.4.0 -> satisfiable by fontawesome/fontawesome[6.4.0].
- fontawesome/fontawesome 6.4.0 requires composer/installers ^1.2.0 -> found composer/installers[v1.2.0, ..., 1.x-dev] but it conflicts with your root composer.json require (^2.2).Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
- Status changed to Fixed
12 months ago 2:23pm 10 January 2024 - 🇵🇰Pakistan noman_297
Having same issue patch in #4 is not applying on Drpual 10.2.0