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.
Running drush libraries-list gives:
$ drush libraries-list
Command libraries-list needs the following module(s) enabled to run: libraries.[error]
The drush command 'libraries-list' could not be executed. [error]
So I try to enable the module:
$ drush en libraries -y
libraries is already enabled. [ok]
There were no extensions that could be enabled. [ok]
I'm receiving similar issues when try to do what I actually want to do, which is install the colorbox-plugin:
$ drush colorbox-plugin
Command colorbox-plugin needs the following module(s) enabled to run: colorbox.[error]
The drush command 'colorbox-plugin' could not be executed. [error]
Despite already having the colorbox module also installed as proven by the following excerpt from drush help:
Other commands: (colorbox,libraries,make)
colorbox-plugin Download and install the Colorbox plugin.
(colorboxplugin)
libraries-list Lists registered library information.
make Turns a makefile into a working Drupal codebase.
make-generate Generate a makefile from the current Drupal site.
(generate-makefile)
I've tried libraries 7.x-2.0 and 7.x-2.x-dev. I understand this issue might be more like a drush or other problem, however all other drush commands and everything else on the site to my knowledge is working as expected.
Comments
Comment #1
tstoecklerSorry, I really cannot reproduce this. If you have additional information about this problem, please re-open. Otherwise I'm not sure I can help you.
Comment #2
encelado CreditAttribution: encelado commentedSee https://github.com/drush-ops/drush/issues/79.