- Issue created by @e0ipso
- Status changed to Fixed
11 months ago 9:51pm 6 February 2024 Automatically closed - issue fixed for 2 weeks with no activity.
Reported by @idiaz.roncero in https://github.com/e0ipso/twig-storybook/issues/3
After trying this on a clean new Drupal 10 install using ddev, I faced this error:
LogicException: To filter with a CSS selector, install the CssSelector component ("composer require symfony/css-selector"). Or use filterXpath instead. in Symfony\Component\DomCrawler\Crawler->createCssSelectorConverter() (line 1204 of /var/www/html/vendor/symfony/dom-crawler/Crawler.php).
Symfony\Component\DomCrawler\Crawler->filter('body script') (Line: 43)
Drupal\storybook\EventSubscriber\AlterBodySubscriber->alter(Object, 'kernel.response', Object)
Installing the dependency manually solves the issue.
Fixed
1.0
Miscellaneous
Automatically closed - issue fixed for 2 weeks with no activity.