Problem

After adding the module with composer and installing it the following error appeared:

$ ddev drush en lupus_decoupled -y
The following module(s) will be installed: lupus_decoupled, lupus_decoupled_ce_api, trusted_redirect, lupus_ce_renderer, metatag, token, custom_elements, lupus_decoupled_cors, lupus_decoupled_menu, config_rewrite, rest_menu_items, rest, serialization

 // Do you want to continue?: yes.                                                                                      

 [error]  Tried to rewrite config rest_menu_items.config via lupus_decoupled_menu module without initial config present. 

In ConfigRewriter.php line 183:
                                                                                                         
  Tried to rewrite config rest_menu_items.config by lupus_decoupled_menu module without initial config.  
                                                                                                        
Command icon 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

fago created an issue. See original summary.

fago’s picture

Title: Error when installing module » Error when installing: Tried to rewrite config rest_menu_items.config
Status: Active » Needs review

fago’s picture

noted this is also fixing this

useernamee’s picture

Looks good

  • fago committed 9abb716e on 1.x
    Issue #3534157 by fago: Fix installing with latest rest_menu_items...
fago’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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