Tuesday 4 May 2021

How to solve composer's InvalidArgumentException Errror in Drupal 8?



When issuing a composer require drupal/csv_serialization command as per the documentation advice,


I'm getting back a report that there is no matching version...[InvalidArgumentException] Could not find a matching version of package drupal/csv_serialization. Check the package spelling, your version constraint and that the package is available in a stability which matches your minimum-stability (stable).





Solution: composer config repositories.drupal composer https://packages.drupal.org/8