Can't enable module in Drupal 9

Created on 18 October 2023, 8 months ago
Updated 13 November 2023, 7 months ago

Problem/Motivation

Impossible to enable module.
Using Drupal 9.5

Steps to reproduce

- Download and enable purge

composer require 'drupal/purge:^3.5'
drush en purge

... end to
[success] Successfully enabled: purge
- Download and enable varnish_purge

composer require 'drupal/varnish_purge:^2.2'
drush en varnish_purge

... ends to

In PmCommands.php line 333:

  Unable to install modules varnish_purge due to missing modules varnish_purge.

Proposed resolution

It seems there is a typo variation in modules name. Although for composer installation it is "varnish_purge", for enabling it is "varnish_purger"
So drush en varnish_purger works

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: won't fix

Version

2.2

Component

Code

Created by

πŸ‡«πŸ‡·France erwangel

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

Comments & Activities

Production build 0.69.0 2024