Problem/Motivation
Started with a clean version of Drupal 11.2.
The recipe made it through 19 out of 23 steps before hanging a bit and then ending with this erro:
In EntityTypeManager.php line 139:
The "commerce_product_variation" entity type does not exist.
Steps to reproduce
composer require drupal/cwo_demo
cd web
../vendor/drush/drush/drush recipe ../recipes/cwo*/
TIA!
Issue fork cwo_demo-3538203
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
bogdog400 commentedWhen I enable the modules manually, I start getting this error:
Comment #3
interdruper commented@bogdog400, try to copy your current config commerce_price.commerce_currency.USD.yml to the recipe config folder and/or use 'strict:false' in recipe.yml:
Comment #4
mlncn commentedSame error, The "commerce_product_variation" entity type does not exist. And this is starting on an installation that had no commerce installed.
Comment #5
mlncn commentedComment #7
mlncn commentedThe commerce_product module needs to be installed first, is all. Fix in issue fork.
Comment #8
thejimbirch commentedChange makes sense. Since you are importing the config from the module, you should ensure it is installed.
Marking as RTBC.
Comment #9
pcambraI don't think we should be depending on commerce_product, as this uses https://www.drupal.org/project/commerce_purchasable_entity
Comment #11
facine commentedFixed! Thanks everyone.
The issue was that #3323623: Remove Commerce Product dependency from Commerce Cart and Commerce Checkout was finally merged into Commerce, and now Commerce Product is no longer required by the cart. The recipe has been updated to remove the dependency on Commerce Product and a basic verification test has been added.
Comment #13
bogdog400 commentedThx!