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

startup error on TwigRenderer #1477

Closed
mfranzke opened this issue Feb 1, 2023 · 0 comments · Fixed by #1478
Closed

startup error on TwigRenderer #1477

mfranzke opened this issue Feb 1, 2023 · 0 comments · Fixed by #1478
Assignees
Labels
bug 🐛 twig renderer Issues and updates related to the PHP-based Twig rendering engine

Comments

@mfranzke
Copy link
Contributor

mfranzke commented Feb 1, 2023

I am using Pattern Lab Node v6.0.0 on Mac, with Node v14.21.2, using a Vanilla Edition.

Expected Behavior

npm run start after creating a new pattern lab instance would just run and open the pattern lab UI within the browser.

Actual Behavior

An error gets logged instead directly after npm run start:

Error: Please check config passed into TwigRenderer.
🛑 should NOT have additional properties: 'package' - add this to schema or remove
Steps to Reproduce
  • npm create pattern-lab
  • Choose the following configuration:
    • ✔ ⊙ patternlab → Installed edition: @pattern-lab/edition-twig
    • ✔ ⊙ patternlab → Installed starterkit: @pattern-lab/starterkit-twig-demo
    • ✔ ⊙ patternlab → Yay ☺. Pattern Lab Node was successfully initialized in ./
  • Afterwards run npm run start
@mfranzke mfranzke added bug 🐛 twig renderer Issues and updates related to the PHP-based Twig rendering engine labels Feb 1, 2023
@mfranzke mfranzke self-assigned this Feb 1, 2023
@mfranzke mfranzke linked a pull request Feb 1, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 twig renderer Issues and updates related to the PHP-based Twig rendering engine
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant