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
The package aframe-template-component in npm version 3.2.1
When i try to render mustache template an error is throwed out on console.
mustache.min.js:1 Uncaught (in promise) TypeError: Invalid template! Template should be a "string" but "function" was given as the first argument for mustache#render(template, view, partials)
at Object.render (mustache.min.js:1:9011)
at renderTemplate (index.js:109:23)
at n.renderTemplate (index.js:78:28)
checking the index.js at line :184 i see that the case is wrongly returning handlebars compiler for mustache case
case MUSTACHE: {returncompileHandlebarsTemplate;}
I see that the problem was fixed on this commit 4d1a49b 6 years before, but the package was published in last 3 months and the bug there is.
The text was updated successfully, but these errors were encountered:
The package aframe-template-component in npm version 3.2.1
When i try to render mustache template an error is throwed out on console.
checking the
index.js
at line :184 i see that the case is wrongly returning handlebars compiler for mustache caseI see that the problem was fixed on this commit 4d1a49b 6 years before, but the package was published in last 3 months and the bug there is.
The text was updated successfully, but these errors were encountered: