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.
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.

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.


tstoeckler’s picture

Category:bug» support
Status:Active» Closed (cannot reproduce)

Sorry, 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.

encelado’s picture

Project:Libraries API» Drush
Version:7.x-2.x-dev» 8.x-6.x-dev
Component:Code» Base system (internal API)
Category:Support request» Bug report
Status:Closed (cannot reproduce)» Closed (duplicate)
Parent issue:» #1653222: "Command needs the following module(s) enabled to run" error