If you run drush zen without enabling the zen theme, you get the following error:

drush: The directory "/..../docroot//STARTERKIT" was not found.
Drush command terminated abnormally due to an unrecoverable error.                                                  [error]

The solution would be to do one of the following:

  1. Check if zen is enabled and throw an error if it isn't
  2. Come up with a better way for finding the zen folder so that this is not required

Comments

star-szr’s picture

It looks like you need to update Drush or clear your cache - see #1645206-4: The drush zen command won't work until cache is flushed.

bleen’s picture

Status: Active » Closed (cannot reproduce)

hmmm ... I did clear cache before reporting ... but I guess I had to clear it twice?

patrickfgoddard’s picture

Had same issue.

I can confirm that you need to have the zen theme enabled on the site you want to create theme for.

So:

drush en zen

or

drush -l local.whatever.com en zen

THEN

drush zen "Name of subtheme" blah_foo

Then watch, as riches will be bequeathed upon you.