Validate version strings for composer.json
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3169782. -->
Reported by: [quicktrick](https://www.drupal.org/user/3635370)
>>>
<h2>Solution</h2>
<p>Composer 1.10.11 has a bug. Use a newer version of Composer.</p>
<h2>Original Report</h2>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>I'm trying to update drupal/core 8.9.3 -> 8.9.5. When using the command 'composer update', I get the following errors:</p>
<pre> [RuntimeException]<br> 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"<br><br> [UnexpectedValueException]<br> Could not parse version constraint dev-load-varnish-only-when-used as ^2.0@dev: Invalid version string "^2.0@dev"</pre><p>I'm not a developer, sorry for any incorrectness. How can I fix that?</p>
> Related issue: [Issue #3169913](https://www.drupal.org/node/3169913)
issue