composer installs to `/drush/`, cannot be enabled

Created on 16 August 2023, over 1 year ago
Updated 17 August 2023, over 1 year ago

Problem/Motivation

When installed via composer, the module installs itself to a `drush` folder at the project root, not in the `modules/contrib` folder. It cannot be enabled.

Steps to reproduce

> composer require 'drupal/password_stats:^1.0'
> drush pm:enable password_stats
Unable to install modules password_stats due to missing modules password_stats.  

> ls drush\Commands\contrib\password_stats\
composer.json  drush.services.yml  LICENSE.txt  password_stats.info.yml  password_stats.install  password_stats.services.yml  README.md  src/
🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇺🇸United States bryanbuchs

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

Comments & Activities

Production build 0.71.5 2024