This repository has been archived by the owner on Apr 7, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Pattern generation fails with an error #15
Comments
Same issue here. @davidcmoulton did you find a workaround? |
Workaround:
|
Confirming this works for me. Thanks @ladyhunterbear. |
Based on what @ladyhunterbear said I'd like to add my findings:
This way php should be able to render the referenced macros. |
@jirmueller Unfortunately changing twigMacroExt to |
heitoralthmann
added a commit
to heitoralthmann/starterkit-twig-demo
that referenced
this issue
Nov 19, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Generating the patterns using this starter kit gives the following error (file paths have been sanitised)):
Steps to reproduce:
Prerequisite: install PHP Pattern Lab Twig and verify it works with the base starter kit
edition-php-twig-standard
via recommended composer command (composer create-project pattern-lab/edition-twig-standard pattern-library && cd $_
)starterkit-twig-base
. (Note we're not choosingstarterkit-twig-demo
because of the advice not to install this via Composer.)php core/console --generate
. This runs fine.Demonstrate the error
starterkit-twig-demo
(don't use Composer):php core/console --starterkit --install pattern-lab/starterkit-twig-demo
.php core/console --generate
. This causes the error.This looks like a bug to me, but I realise I might be missing something.
The text was updated successfully, but these errors were encountered: