Troubleshooting

Module does not install using composer

When you are using composer install or update module then you notice module is not installed, there are two types of situation that you may encounter this issue:

  • Shop configuration file is removed from var/configuration/shops/ directory or /var directory is removed.

Solution

@startuml

start

if (Module is visible in admin area?) then (no)

   if (Is var/configuration/shops/1.yaml file exists?) then (yes)

       if (is module configuration exists in var/configuration/shops/1.yaml?) then (yes)

       else (no)
          :run console install module;
       endif

   else (no)

     :run composer update;

     :var/configuration/shops/1.yaml file will be created;

     :run console install module command;

   endif

else (yes)

endif

:module is installed;

 stop

@enduml

Note

Please check modules configuration and setup document for getting more information regarding shop configuration files ( var/configuration/shops/1.yaml ) and how to generate them.

Note

How to run install module command?

vendor/bin/oe-console oe:module:install <module sourcecode path>