You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 6, 2018. It is now read-only.
Are you sure you're getting a compilation error? This should compile just fine, I checked it out now and had no problems. This should instead result in a runtime problem, since the javascript that this is compiled to will try to access a property in results, which is not defined.
Here is my use case, it's a little unusual as it's using metal-ssg, so there is front-matter in the files and the .soyweb template is added automatically.
Ohhh I see, you're using the soyweb functionality to run soy through gulp, right? When there's an error like this gulp-soynode is not showing it to you, but is not generating the page either. That makes sense now, it may be either a problem with gulp-soynode or with soynode, which we call to do the rendering.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Say I have a
.soy
file with the following template and$results
is not defined.The file will fail to compile but no errors are thrown notifying the developer that something has gone wrong.
If the template is fixed by checking for
$results
everything compiles fine.It would be nice to know that one of my files failed to compile.
The text was updated successfully, but these errors were encountered: