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.
Problem
It appears that this extension assumes that
php core/console --generateis run from the theme directory itself.I'm getting this error:
Steps to reproduce
attach-library-twig-extensionin the_twig-components/functionsdirectory, per the documentation.php core/console --generate.Suggested fix
Add to the documentation that
php path/to/core/console --generatemust be run from the theme directory.