Problem
It appears that this extension assumes that php core/console --generate is run from the theme directory itself.
I'm getting this error:
Uncaught Symfony\Component\Yaml\Exception\ParseException: File "" does not exist.
Steps to reproduce
- Install pattern lab in a subdirectory of the theme.
- Install
attach-library-twig-extension in the _twig-components/functions directory, per the documentation.
- From the pattern lab root directory, run
php core/console --generate.
Suggested fix
Add to the documentation that php path/to/core/console --generate must be run from the theme directory.