-
Notifications
You must be signed in to change notification settings - Fork 45
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
npm start resulting in PHP TwigRenderer Error #1175
Comments
Hello! We received your note - I will have someone respond shortly. Thank you for notifying us. -Margo Romanowski |
@kemiga we ran into the same issue recently (might be an upstream dependency problem) and ended up needing to lock down the version of the At the moment our Travis CI builds seem to be checking out ok but this is still high on our radar to look further into + make sure everything is working as expected! Out of curiosity, are you running the latest code that's up on master? Also, just wanted to double check: are you seeing this particular error message after (roughly) following the Developer Getting Started guide? https://boltdesignsystem.com/docs/development/local-dev-environment-setup.html |
@sghoweri yes cloned from master and have pulled the latest changes. And yes I was following the getting started guide. The twig/twig version is set to 1.36.0 in the code I have checked out. I've tried re-running composer update in packages/twig-renderer but am still getting a 'PHP TwigRenderer Error'. |
Hi, I've just done a fresh install and am having the same issue at the same point as kemiga. |
Hi, this is still an issue for me in both the master and the 2.x branches |
@AnthonySGeorge you can try |
@AnthonySGeorge I was having this issue too and just updating npm to the latest version worked for me. |
I'm getting this issue as well, here's a link to my Steps taken:
|
Turned out this was because I was using node |
Are there any updates on this issue? I am experiencing the same error message when running |
Wanted to leave this here for anyone that may come to this error. This error is thrown when the data being passed through embeds and twig structure, is being broken, and a template is receiving The best solution is to check what variables are present in each template as you go down the line. If there are multiple errors like this in the stack, this will output multiple errors. Example #1
and
Example #2
and
|
Thanks @Tregonia for the detailed info! ^^ |
I'm setting up the Bolt design system for the first time on one machine running Ubuntu and another using Windows. On both machines, after running
npm run setup
thennpm start
, the process fails with the following error at the "Compiling Static Site" stage:The text was updated successfully, but these errors were encountered: