Problem/Motivation

I followed the steps on this recipe's main page and set up a new site. I noticed Display Builder was missing to manually tried to enable the recipe and I got the titular error:

prompt> php core/scripts/drupal recipe ../recipes/display_builder_bootstrap

In ConfigConfigurator.php line 69:
                                                                                                                   
  The configuration 'field.storage.node.field_image' exists already and does not match the recipe's configuration  

I then deleted that field and was able to enable the recipe. The second time I got this error:

 [ERROR] There were errors validating the config synchronization.                                                       
         Unable to uninstall the <em class="placeholder">UI Icons Text</em> module because: Provides a filter plugin that
         is in use in the following filter formats: <em class="placeholder">Basic HTML, Full HTML</em>.                 

However it did enable most of the modules so it should at least be partially working.

Comments

tolstoydotcom created an issue. See original summary.

mogtofu33’s picture

Status: Active » Needs work

Thanks for testing.

This is typical of an install on an existing site or site with profile 'standard', it is important to start from a 'minimal' profile.
Can you check you started from minimal?

Display builder is in the composer recipe line on the doc and must be installed with the recipe, so not sure how it was missing on your test:
composer require drupal/display_builder_bootstrap:^1.0.0 drupal/display_builder:1.0.x-dev

Here is the full list of commands from the doc, on linux a copy paste is working well:

#!/bin/bash
composer create-project drupal/recommended-project drupal_bootstrap
cd drupal_bootstrap
mkdir -p web/libraries
cd web/libraries
npm init -y
npm i bootstrap-icons
mv node_modules/bootstrap-icons .
# Back to Drupal root.
cd ../..
composer config allow-plugins.drupal/core-recipe-unpack true
composer require drupal/core-recipe-unpack
composer config --merge --json extra.installer-paths '{"recipes/{$name}":["type:drupal-recipe"]}'
echo '/recipes' >> .gitignore
composer config minimum-stability dev
composer require drupal/display_builder_bootstrap:^1.0.0 drupal/display_builder:1.0.x-dev drush/drush
ddev config --project-type=drupal11 --docroot=web
ddev drush si -y minimal
ddev exec -d /var/www/html/web php core/scripts/drupal recipe /var/www/html/recipes/display_builder_bootstrap
ddev drush cache:rebuild
ddev launch

Let me know if you have other restrictions to run these, like if you are on an other system. Thanks.

tolstoydotcom’s picture

The "install with minimal" is in the DDEV section, I didn't read that because I'm using a regular LAMP stack. I may try again using minimal.

The modules weren't enabled because the recipe didn't import the first time due to the image field. When I removed that, the recipe did import OK aside from the filter format issue.

mogtofu33’s picture

Status: Needs work » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.