Skip to content

Undefined array key errors #1509

@Stephen-Almendinger

Description

@Stephen-Almendinger

I am using Pattern Lab Node v6.1.0 on Mac, with Node v16.20.2, using a Gulp Edition.

PHP Warning:  Undefined array key "template" in /Users/stephenalmendinger/localdev/vacu-d9/web/themes/custom/vacu/patternlab/node_modules/@basalt/twig-renderer/dist/server--async.php on line 115
PHP Warning:  Undefined array key "data" in /Users/stephenalmendinger/localdev/vacu-d9/web/themes/custom/vacu/patternlab/node_modules/@basalt/twig-renderer/dist/server--async.php on line 115

Warning: Undefined array key "template" in /Users/stephenalmendinger/localdev/vacu-d9/web/themes/custom/vacu/patternlab/node_modules/@basalt/twig-renderer/dist/server--async.php on line 115

Warning: Undefined array key "data" in /Users/stephenalmendinger/localdev/vacu-d9/web/themes/custom/vacu/patternlab/node_modules/@basalt/twig-renderer/dist/server--async.php on line 115
PHP Warning:  Undefined array key "template" in /Users/stephenalmendinger/localdev/vacu-d9/web/themes/custom/vacu/patternlab/node_modules/@basalt/twig-renderer/dist/server--async.php on line 115
PHP Warning:  Undefined array key "data" in /Users/stephenalmendinger/localdev/vacu-d9/web/themes/custom/vacu/patternlab/node_modules/@basalt/twig-renderer/dist/server--async.php on line 115
PHP TwigRenderer Error: The response callback is expected to resolve with an object implementing Psr\Http\Message\ResponseInterface, but rejected with "TypeError" instead.

Warning: Undefined array key "template" in /Users/stephenalmendinger/localdev/vacu-d9/web/themes/custom/vacu/patternlab/node_modules/@basalt/twig-renderer/dist/server--async.php on line 115

Warning: Undefined array key "data" in /Users/stephenalmendinger/localdev/vacu-d9/web/themes/custom/vacu/patternlab/node_modules/@basalt/twig-renderer/dist/server--async.php on line 115
PHP TwigRenderer Error: The response callback is expected to resolve with an object implementing Psr\Http\Message\ResponseInterface, but rejected with "TypeError" instead.
Expected Behavior

Code compiles when doing a run build.

Actual Behavior

Code fails with the error outlined aboved

Steps to Reproduce

Create a patternlab with gulp. Run build command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions