Getting the following error trying to run the sub-theme command:
$ drush --include="web/themes/contrib/bootstrap_storybook" bootstrap_storybook:create "My Storybook"
[warning] The following theme is missing from the file system: bootstrap_storybook bootstrap.inc:295
0/2 [>---------------------------] 0% [error] The origin directory specified "/src/kits/default" was not found.
[Collection]
[Collection] Exit code 1
2/2 [============================] 100%
I thought if I specify the relative path from the project root, that might do it. But no:
$ drush --include="web/themes/contrib/bootstrap_storybook" bootstrap_storybook:create "My Storybook" --kit="/app/web/themes/contrib/bootstrap_storybook/src/kits/default"
[warning] The following theme is missing from the file system: bootstrap_storybook bootstrap.inc:295
0/2 [>---------------------------] 0% [error] The origin directory specified "/src/kits//app/web/themes/contrib/bootstrap_storybook/src/kits/default" was not found.
[Collection]
[Collection] Exit code 1
2/2 [============================] 100%
Gave it one last try with a specified absolute path. Still no:
$ drush --include="web/themes/contrib/bootstrap_storybook" bootstrap_storybook:create "My Storybook" --kit="web/themes/contrib/bootstrap_storybook/src/kits/default"
[warning] The following theme is missing from the file system: bootstrap_storybook bootstrap.inc:295
0/2 [>---------------------------] 0% [error] The origin directory specified "/src/kits/web/themes/contrib/bootstrap_storybook/src/kits/default" was not found.
[Collection]
[Collection] Exit code 1
2/2 [============================] 100%
Comments
Comment #2
doxigo commentedTry enabling the theme first to see if it helps? also could you manually check the path and see if it's correct? like is it
webordocroot?Comment #3
jcandan commentedComment #4
jcandan commentedYes, it is for sure
web/. Okay, that did it. So, along with instructions to get Robo, like Radix, we need to enable the base theme before we can run the sub-theme command.Comment #5
doxigo commentedis it necessary to set the default theme as well? or just enabling should be enough?
Comment #6
jcandan commentedEnabling the base theme is enough. Note that the default theme is the sub-theme in their instructions.
Comment #7
doxigo commented