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.
I'm using drupal 8.3.6
which requires
"drush/drush": "master"
which has deprecated dl:
[notice] dl has been deprecated.
So to install drupalmoduleupgrader I ended up adding it to composer.json -
in the require:
"drupal/drupalmoduleupgrader": "1.x-dev"
then ran:
composer update
then:
cd modules/contrib/drupalmoduleupgrader
composer install
drush dmu-analyze
drush dmu-upgrade
both ran without any issues; and have saved us a ton of time!
Thank you for this kick-ass module!
Comment | File | Size | Author |
---|---|---|---|
kick_ass.jpg | 116.81 KB | KarinG |
Comments
Comment #2
KarinGComment #3
KarinGComment #4
bajah1701 CreditAttribution: bajah1701 as a volunteer commentedPlease update the documentation to reflect the different methods of installing the module given that drush 9 has deprecated dl.
Comment #5
bajah1701 CreditAttribution: bajah1701 as a volunteer commentedComment #6
Gábor HojtsyI just removed drush dl mention from project page and the included readme, thanks.
Comment #8
Shashwat Purav CreditAttribution: Shashwat Purav commentedInstalled Drupal 8 using composer. Recieved "dl has been deprecated." error while tried to download a module using "drush dl" command.
Solution: Downgraded Drush version to 8 in composer.json and ran "composer update" command.