How to install module which already exist in acttive configuration

By gnanaguru, 20 September, 2022

You may got error while installing new module via drush

for example:

When you try to install devel and devel_kint_module or any other module, will be getting similar error

Configuration objects(system.menu.devel) provided by devel already exist in active configuration.

Here is the solution to overcome this issue

drush config-delete <configuration object you wanted to delete>

In my case, I need to delete system.menu.devel.

drush config-delete system.menu.devel

execute the command, try installing the module, it will install.

 

Comments

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.