Could not load package drupal/views_app_folders in https://packages.drupal.org/7: [UnexpectedValueException] Could not parse version constraint : Invalid version string ""
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #2726925. -->
Reported by: [pbuyle](https://www.drupal.org/user/215342)
>>>
<p>When using a <code>composer.json</code> file containing the following:</p>
<pre>{<br> "repositories" :[<br> ...<br> {<br> "type": "composer",<br> "url": "https://packages.drupal.org/7"<br> }<br> ...<br> ],<br> require: {<br> "drupal/views_app_folders": "1.0-dev"<br> }<br>}</pre><p>composer produce the following error:</p>
<pre> [RuntimeException] <br> Could not load package drupal/views_app_folders in https://packages.drupal.org/7: [UnexpectedValueException] Could not parse ver <br> sion constraint : Invalid version string ""</pre><p>This happen when reading the file visible at <a href="https://packages.drupal.org/7/drupal/views_app_folders%241862e60cc530ab1806ec4fb236160b9fb219532ade49aec53e2f94635258378b.json">https://packages.drupal.org/7/drupal/views_app_folders%241862e60cc530ab1806ec4fb236160b9fb219532ade49aec53e2f94635258378b.json</a> (copy attached to this issue).</p>
<p>The file does indeed contains an invalid version for the needed libraries module.</p>
issue