Validate version strings for composer.json
Migrated issue
Reported by: quicktrick
Solution
Composer 1.10.11 has a bug. Use a newer version of Composer.
Original Report
Problem/Motivation
I'm trying to update drupal/core 8.9.3 -> 8.9.5. When using the command 'composer update', I get the following errors:
[RuntimeException]
Could not load package ezsystems/ezplatform in http://repo.packagist.org: [UnexpectedValueException] Could not parse version constraint dev-load-varnish-only-when-used as ^2.0@dev: Invalid version string "^2.0@dev"
[UnexpectedValueException]
Could not parse version constraint dev-load-varnish-only-when-used as ^2.0@dev: Invalid version string "^2.0@dev"
I'm not a developer, sorry for any incorrectness. How can I fix that?
Related issue: Issue #3169913
Edited by drupalbot