Skip to content

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

Description

@kentr

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions