Installed with Composer but not in my module list.

Created on 29 August 2022, over 2 years ago
Updated 12 September 2024, 3 months ago

Problem/Motivation

I'm not seeing the module in my admin interface in order to enable it.

Steps to reproduce

Use composer to install. Observe that version beta 6 is required in composer.json and files are present in modules/contrib/selective_better_exposed_filters. Go to admin/modules to enable the module, see that it is not present in the module list.

Proposed resolution

How can I make the module appear in my modules listing?

Remaining tasks

Need to enable module to use the selective filter option in Better Exposed Filters.

πŸ’¬ Support request
Status

Closed: cannot reproduce

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States taxelson@umassp.edu

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States mmrtnt

    Adding just to share.

    I had a problem with four modules (three from composer, one custom) not showing up when running config import. I could use drush to "en" them, but config imports kept failing for "Unable to install module since it does not exist"

    I was able to get around this by modifying ExtensionList.php and commenting out the cache retrieval section. Apparently even after numerous composer removes, deletes and composer requires, the modules were not getting scanned and put in the module list cache.

    This is on Drupal 9.4.7.

    274   public function getList() {
    275     if ($this->extensions !== NULL) {
    276       return $this->extensions;
    277     }
    278     /*
    279     if ($cache = $this->cache->get($this->getListCacheId())) {
    280       $this->extensions = $cache->data;
    281       return $this->extensions;
    282     }
    283     */
    284     $extensions = $this->doList();
    285     $this->cache->set($this->getListCacheId(), $extensions);
    286     $this->extensions = $extensions;
    287     return $this->extensions;
    
Production build 0.71.5 2024