How can I downgrade a module with Composer? I updated the following module to its stable version :
https://www.drupal.org/project/commerce_pricelist/releases/8.x-2.0-rc2
This module completely broke my site. There has been no database update. How can I revert to the RC2 version ?
Open your composer.json and search for the line containing drupal/commerce_pricelist
Replace the line by this one : &quot;drupal/commerce_pricelist&quot;: &quot;2.0-rc2&quot;,
Execute composer update drupal/commerce_pricelist

Or simply run composer require 'drupal/commerce_pricelist:2.0-rc2' as suggested @4k4 in the comments