BitBagCommerce/SyliusVueStorefrontPlugin

Error adding vuestorefront-plugin

h4xhor opened this issue · 3 comments

Hi Sylius community,

After a fresh install of Sylius, when I try to install the vuestorefront-plugin using:

$ composer require bitbag/vuestorefront-plugin:v2.1.1

I get the error:

Executing script cache:clear [KO]
 [KO]
Script cache:clear returned with error code 1
!!  
!!   // Clearing the cache for the prod environment with debug                      
!!   // false                                                                       
!!  
!!  
!!  In CheckExceptionOnInvalidReferenceBehaviorPass.php line 86:
!!                                                                                 
!!    The service "bitbag_sylius_vue_storefront_plugin.api.cart.create_cart" has   
!!    a dependency on a non-existent service "bitbag_vue_storefront_plugin.comman  
!!    d_bus".                                                                      
!!                                                                                 
!!  
!!  cache:clear [--no-warmup] [--no-optional-warmers] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command>                                                                                                                                   
!!  
!!  
Script @auto-scripts was called via post-update-cmd

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

Any help much appreciated. Thanks.

@h4xhor
had the same problem
I solved this issue by running the composer without execution scripts section
composer require bitbag/vuestorefront-plugin:v2.1.1 --no-scripts
and after that, I ran
composer update nothing
for executing the scripts section

and try this
#94

Hi @silcki, thanks so much. It worked!