Closed techguydave closed 10 years ago
I'm not sure. I do know that there was a Handlebars 2.0 beta release recently. What's the exact version you're running on the client?
Also, why don't you try using that exact same version on the server and simply pass a reference to your copy of Handlebars when using this package. See: https://github.com/ericf/express-handlebars#handlebarsrequirehandlebars
I was running the 2.0.0-alpha.4 version client-side.
I got the error removed when I changed the client to version to 1.0-rc2, but ultimately decided to go with Angular instead of Ember+Handlebars (for reasons unrelated to this issue).
Ha okay… I'll close this then.
When adding the client-side Handlebars script, I get the following error in the console:
Uncaught Error: Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version (>= 2.0.0) or downgrade your runtime to an older version (<= 1.0.rc.2).
I noticed you mentioned in another issue that #68 was an upgrade, and in the
packages.json
you have^2.0.0-alpha.4
. Is this an issue on my end or is it a bug with the express-handlebars library?