I have downloaded lightning 8.x-2.25 with composer.

composer create-project acquia/lightning-project MYPROJECT

composer install

when I try to install I am getting below error.

Error
The website encountered an unexpected error. Please try again later.
Drupal\Core\Config\PreExistingConfigException: Configuration objects (core.entity_form_display.media.image.default, core.entity_view_display.media.image.default, media.type.image) provided by lightning_media_image already exist in active configuration in Drupal\Core\Config\PreExistingConfigException::create() (line 65 of core/lib/Drupal/Core/Config/PreExistingConfigException.php).

Drupal\Core\Config\PreExistingConfigException::create('lightning_media_image', Array) (Line: 492)
Drupal\Core\Config\ConfigInstaller->checkConfigurationToInstall('module', 'lightning_media_image') (Line: 132)

CommentFileSizeAuthor
Lightning.png83.23 KBFlutterStack
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

suresh kumara created an issue. See original summary.

FlutterStack’s picture

Issue summary: View changes
balsama’s picture

Hi. This appears to be an issue with patches not applying properly in your codebase. Please see this article:
https://docs.acquia.com/article/fixing-failing-composer-patches-updating...

phenaproxima’s picture

Title: lightning latest (8.x-2.25) instalation error. » PreExistingConfigException when installing Lightning Media Image
Category: Bug report » Support request
phenaproxima’s picture

Status: Active » Closed (outdated)

Lightning 2.x is no longer maintained, so I'm closing this issue.