I am migrating my D6 to D8 and I when I tried to install the FAQ module
I get errors:
$ drush en faq
The following extensions will be enabled: faq
Do you really want to continue? (y/n): y
exception 'Drupal\Core\Config\PreExistingConfigException' with message 'Configuration objects[error]
(core.entity_form_display.node.faq.default, core.entity_view_display.node.faq.default,
field.field.node.faq.body, node.type.faq) provided by faq already exist in active
configuration' in
/usr/share/nginx/html/drupal8012015/core/lib/Drupal/Core/Config/PreExistingConfigException.php:70
Stack trace:
#0 /usr/share/nginx/html/drupal8012015/core/lib/Drupal/Core/Config/ConfigInstaller.php(458):
Drupal\Core\Config\PreExistingConfigException::create('faq', Array)
#1
/usr/share/nginx/html/drupal8012015/core/lib/Drupal/Core/ProxyClass/Config/ConfigInstaller.php(136):
Drupal\Core\Config\ConfigInstaller->checkConfigurationToInstall('module', 'faq')
#2
/usr/share/nginx/html/drupal8012015/core/lib/Drupal/Core/Extension/ModuleInstaller.php(146):
Drupal\Core\ProxyClass\Config\ConfigInstaller->checkConfigurationToInstall('module', 'faq')
#3
/usr/share/nginx/html/drupal8012015/core/lib/Drupal/Core/ProxyClass/Extension/ModuleInstaller.php(87):
Drupal\Core\Extension\ModuleInstaller->install(Array, true)
#4 /home/nflorez/.composer/vendor/drush/drush/commands/core/drupal/environment.inc(131):
Drupal\Core\ProxyClass\Extension\ModuleInstaller->install(Array, true)
#5 /home/nflorez/.composer/vendor/drush/drush/commands/core/drupal/environment.inc(198):
drush_module_install(Array)
#6 /home/nflorez/.composer/vendor/drush/drush/commands/pm/pm.drush.inc(1165):
drush_module_enable(Array)
#7 [internal function]: drush_pm_enable('faq')
#8 /home/nflorez/.composer/vendor/drush/drush/includes/command.inc(364):
call_user_func_array('drush_pm_enable', Array)
#9 /home/nflorez/.composer/vendor/drush/drush/includes/command.inc(215):
_drush_invoke_hooks(Array, Array)
#10 [internal function]: drush_command('faq')
#11 /home/nflorez/.composer/vendor/drush/drush/includes/command.inc(183):
call_user_func_array('drush_command', Array)
#12 /home/nflorez/.composer/vendor/drush/drush/lib/Drush/Boot/BaseBoot.php(65):
drush_dispatch(Array)
#13 /home/nflorez/.composer/vendor/drush/drush/includes/preflight.inc(64):
Drush\Boot\BaseBoot->bootstrap_and_dispatch()
#14 /home/nflorez/.composer/vendor/drush/drush/drush.php(12): drush_main()
#15 {main}
I search for an answer but nothing so far....
Any ideas?
Thanks!!!
Comments
Comment #2
sumitmadan commentedI guess faq content type is already exists thats why it is not allowing you to enable the module.
Comment #4
sumitmadan commentedContent type will be uninstalled on module uninstallation, as it is done in 7.x branch. I have committed to 8.x-1.x branch.