sensiolabs / StorybookBundle

MIT License
30 stars 2 forks source link

Storybook failed when twig component is not installed #5

Open WebMamba opened 4 months ago

WebMamba commented 4 months ago

=> Failed to build the preview Error: Symfony console failed with exit status 1: CMD: 'php' 'bin/console' 'debug:config' 'twig_component' '--resolve-env' '--format=json' Output: Error output: [critical] Error thrown while running command "debug:config twig_component --resolve-env --format=json". Message: "No extensions with configuration available for "twig_component"."

No extensions with configuration available for "twig_component".

If the storybook is started without the twig-component package installed, an errors is throw maybe we should add a depencie on twig component as well

squrious commented 3 months ago

I wonder if Twig Components should be optional?

WebMamba commented 2 weeks ago

well if TwigComponent is optional we should not get any error when running the storybook without TwigComponent