Composer returns the following error
Problem 1
- Conclusion: don't install drupal/svg_image 1.12.0
- Conclusion: don't install drupal/svg_image 1.x-dev|remove enshrined/svg-sanitize 0.12.0
- Conclusion: don't install drupal/svg_image 1.x-dev|don't install enshrined/svg-sanitize 0.12.0
- Installation request for drupal/svg_image ^1.12 -> satisfiable by drupal/svg_image[1.x-dev, 1.12.0].
- drupal/svg_image 1.x-dev requires enshrined/svg-sanitize ~0.13 -> satisfiable by enshrined/svg-sanitize[0.13.0, 0.13.1, 0.13.2, 0.13.3].
- Can only install one of: enshrined/svg-sanitize[0.13.0, 0.12.0].
- Can only install one of: enshrined/svg-sanitize[0.13.1, 0.12.0].
- Can only install one of: enshrined/svg-sanitize[0.13.2, 0.12.0].
- Can only install one of: enshrined/svg-sanitize[0.13.3, 0.12.0].
- Installation request for enshrined/svg-sanitize (locked at 0.12.0) -> satisfiable by enshrined/svg-sanitize[0.12.0].
maybe you should use
"require": {
"enshrined/svg-sanitize": "^0.12.0"
},
instead of
"require": {
"enshrined/svg-sanitize": "~0.12.0"
},
All the best
Francisco
Comments
Comment #2
imyaro commentedHello,
Does somebody else require
enshrined/svg-sanitize? I didn't met any issues during tests.If you not sure - could you please run
composer why enshrined/svg-sanitizeand paste output here.Comment #3
dgwebcreative commentedI ran into this on a dev site and ran
composer why enshrined/svg-sanitizeThis was the result:
drupal/menu_svg_icons 1.0.0 requires enshrined/svg-sanitize (^0.9.0)Comment #7
imyaro commentedHello,
I've changed version of the package to the one, which will match compatibility for the svg_menu_icons module. Also please check the issue #3123053: Sanitizer version dependency.
Please download latest release 8.x-1.13
Comment #8
imyaro commentedWrong issue in related
Comment #9
imyaro commentedRelated issue fixed.
Mark it as fixed too.