Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught Symfony\Component\Yaml\Exception\ParseException: File "" does not exist. #12

Open
kentr opened this issue Nov 9, 2019 · 0 comments

Comments

@kentr
Copy link

kentr commented Nov 9, 2019

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

  1. Install pattern lab in a subdirectory of the theme.
  2. Install attach-library-twig-extension in the _twig-components/functions directory, per the documentation.
  3. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant