I have an issue with Omega 4.x,
I want to use the Omega commands with drush, if I set Omega as my default theme it is possible to execute
drush omega-xxx commands
When I activate my subtheme create with drush omega-wizard and set it as default I have this error
Command omega-guard needs the following module(s) enabled to run: omega.
The drush command 'omega-guard' could not be executed.
Running drush cc all or drush cc drush does not change anything.
I don't have Omega Tools module installed.
I'm on a Drupal Commerce Kickstart 2 environnement.
I can run bundle exec guard
as an alternative but I don't know if it's doing the same thing as omega command, is it just an alias ?
Thanks in advance for the help you could bring me.
Comments
Comment #1
pkeyes CreditAttribution: pkeyes commentedI tried every solution I could find, finally hit on this one:
https://www.drupal.org/node/2445531
Installed default Omega theme in themes dir, disabled active themes through UI, then enabled Omega. Was then able to use Omega drush commands to create subtheme, work with Compass, etc.
Comment #2
Internet CreditAttribution: Internet as a volunteer and commentedReceived this message on Omega4 site after upgrading drush to v8 along with other system requirements for D8. Enabling the omega base theme and setting it as default, then resetting the subtheme as default and clearing cache worked.
Comment #3
steinmb CreditAttribution: steinmb as a volunteer commentedEither you need make sure the Omega theme is enabled and default or you need to run drush 6.x.
Comment #5
ivanhelguera CreditAttribution: ivanhelguera commentedbut this happens when one wants to work with an omega subtheme?
Comment #6
ivanhelguera CreditAttribution: ivanhelguera commentedComment #7
steinmb CreditAttribution: steinmb as a volunteer commentedThen try a different version of Drush. Drush 5 or 6 -series might fix this. It is not really a Omega related problem. Have a look in the Drush issue queue on github.
Comment #8
lebachai CreditAttribution: lebachai commented#2 by Internet worked for me. Thanks!
Comment #9
finaukaufusi CreditAttribution: finaukaufusi commented#2 works for me. Thank you for sharing.
Comment #10
isaacrc CreditAttribution: isaacrc commented#2 Thanks , Works like a charm!
Comment #11
Ujin CreditAttribution: Ujin commentedI had similar issues, I ran drush cc drush and that fixed the issue.