Open michaellenahan opened 6 years ago
I encountered a problem when compiling our pattern lab theme on our Travis CI Runner.
The full write-up is here: https://github.com/michaellenahan/blog/wiki/PHP-Fatal-error:--Uncaught-Twig_Error_Syntax:-Unknown-%22asset%22-function
The problem was caused by a change to one of the dependencies of pattern lab, gulp-inject.
gulp-inject
The commit which caused the issue was https://github.com/klei/gulp-inject/commit/831d4b08a94a97aedb0e55a726dd03c3dffb70e9#commitcomment-28486839
I am not a front-end developer, I am responsible for back-end development and deployment of my site - I just wanted to put a note here in case anyone else comes across the same problem.
I've also made a comment in the commit page for gulp-inject https://github.com/klei/gulp-inject/commit/831d4b08a94a97aedb0e55a726dd03c3dffb70e9#commitcomment-28486839 - the maintainer has kindly got back to me with some questions, maybe someone reading this is better able to answer them than I am.
I encountered a problem when compiling our pattern lab theme on our Travis CI Runner.
The full write-up is here: https://github.com/michaellenahan/blog/wiki/PHP-Fatal-error:--Uncaught-Twig_Error_Syntax:-Unknown-%22asset%22-function
The problem was caused by a change to one of the dependencies of pattern lab,
gulp-inject
.The commit which caused the issue was https://github.com/klei/gulp-inject/commit/831d4b08a94a97aedb0e55a726dd03c3dffb70e9#commitcomment-28486839
I am not a front-end developer, I am responsible for back-end development and deployment of my site - I just wanted to put a note here in case anyone else comes across the same problem.
I've also made a comment in the commit page for gulp-inject https://github.com/klei/gulp-inject/commit/831d4b08a94a97aedb0e55a726dd03c3dffb70e9#commitcomment-28486839 - the maintainer has kindly got back to me with some questions, maybe someone reading this is better able to answer them than I am.