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
In the currently-referenced version of Handlebars, if there is an empty template file the server will crash on the following exception: Error: You must pass a string or Handlebars AST to Handlebars.compile. You passed
I noticed this when I was early in development on a new project and had an empty template so I could test a case for template inheritance. I had planned to leave this file empty, but instead had to enter some dummy info to prevent this exception.
This issue was reported to the handlebars project earlier this year and has since been corrected: handlebars-lang/handlebars.js/issues/461. Please update the hbs project to require handlebars 1.0.12 (the latest) to eliminate this defect.
The text was updated successfully, but these errors were encountered:
In the currently-referenced version of Handlebars, if there is an empty template file the server will crash on the following exception:
Error: You must pass a string or Handlebars AST to Handlebars.compile. You passed
I noticed this when I was early in development on a new project and had an empty template so I could test a case for template inheritance. I had planned to leave this file empty, but instead had to enter some dummy info to prevent this exception.
This issue was reported to the handlebars project earlier this year and has since been corrected: handlebars-lang/handlebars.js/issues/461. Please update the hbs project to require handlebars 1.0.12 (the latest) to eliminate this defect.
The text was updated successfully, but these errors were encountered: