I appear to be having an issue running the drush storybook:generate-all-stories command which results in the following error:

Invalid template path for the stories "modules/custom"

Going into StorybookCommands.php and changing scan_dirs to $scan_dirs = ['themes']; results in the same error but:

Invalid template path for the stories "themes/custom"

I'm not entirely sure when taking an initial look at the code why this would be occurring. Would welcome any advice!

Comments

welly created an issue. See original summary.

welly’s picture

I wonder if this is because we're using symlinks to build the docroot file system?

Update. It is because of symlinks. Have revised the file system structure to not use symlinks for custom modules and themes.

welly’s picture

Status: Active » Closed (duplicate)