Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
As put in the subject, Drush installer downloads the Demo module repeatedly and can't enable it:
root@mywebsite:/home/mywebsite/www#
drush dl demo
Install location /home/mywebsite/public_html//modules/demo already exists. Do you want to overwrite it? (y/n): y
Project demo (8.x-1.x-dev) downloaded to /home/mywebsite/public_html//modules/demo. [success]
Project demo contains 2 modules: demo, demo_reset.
root@mywebsite:/home/mywebsite/www#
drush en demo
demo was not found. [warning]
The following projects provide some or all of the extensions not found: [ok]
demo
Would you like to download them? (y/n): y
Install location /home/mywebsite/public_html//modules/demo already exists. Do you want to overwrite it? (y/n): y
Project demo (8.x-1.x-dev) downloaded to /home/mywebsite/public_html//modules/demo. [success]
Project demo contains 2 modules: demo, demo_reset.
demo was not found. [warning]
The following projects provide some or all of the extensions not found: [ok]
demo
Would you like to download them? (y/n): y
Install location /home/mywebsite/public_html//modules/demo already exists. Do you want to overwrite it? (y/n): y
Project demo (8.x-1.x-dev) downloaded to /home/mywebsite/public_html//modules/demo. [success]
Project demo contains 2 modules: demo, demo_reset.
demo was not found. [warning]
The following projects provide some or all of the extensions not found: [ok]
demo
Would you like to download them? (y/n):
Comments
Comment #1
yngens2 CreditAttribution: yngens2 commentedFalse alert as same behavior is observed when trying to install any other module with Drush. So something wrong with Drupal 8 or Drush and this probably should be reported esllwhere. Marking this as closed.