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

Undefined array key errors #1509

Open
Stephen-Almendinger opened this issue Sep 4, 2024 · 0 comments
Open

Undefined array key errors #1509

Stephen-Almendinger opened this issue Sep 4, 2024 · 0 comments

Comments

@Stephen-Almendinger
Copy link

Stephen-Almendinger commented Sep 4, 2024

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.

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