Active
Project:
Storybook
Version:
1.0.0
Component:
Documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Oct 2024 at 15:52 UTC
Updated:
29 Dec 2024 at 10:08 UTC
Jump to comment: Most recent
Hey all. I have some feedback I've gathered from building https://github.com/cosmicdreams/drupal-storybook for Drupal 11 and Storybook 8.
Updated Requirements:
MariaDB: at least 10.6
php_version: at least 8.3. (ran into problems with 8.4)
nodejs_version: 20
New Requirement
webimage_extra_packages:
- xdg-utils
Without xdg-utils being installed Storybook 8 can not properly build / compile.
As a result the module's onboarding documentation should be updated to account for these different requirements.
Try to get this module working with DDEV using the documentation you provide.
Update documentation to provide updated guidance.
Comments
Comment #2
e0ipsoThere is a section in the README about ddev, perhaps this could go in there. I think this is new in SB8.
Comment #3
cosmicdreams commentedYea, That's what I've been observing, Since SB8. I'll see if I can update the README
Comment #4
gooddev commentedqick fix is to add --no-open to startup script of storybook
e.g.
yarn storybook --no-openComment #5
neclimdulTechnically I think it was added in 8.3 or 8.4 so its pretty recent even in the SB8 releases. We're using the --no-open workaround.
Comment #6
tonypaulbarkerTo workaround the issue I am using yarn in ddev instead of npm and using the --no-open flag. The --no-open flag seemed to have no effect for me when using npm.