When I install both the latest EmberJS (1.0.0-rc.3) and the latest Handlebars (1.0.0-rc.4), I get an error in console when I visit the page:
Uncaught Error: assertion failed: Ember Handlebars requires Handlebars 1.0.0-rc.3
or greater. Include a SCRIPT tag in the HTML HEAD linking to the Handlebars file
before you link to Ember.
I get this error whenever I do a 'vanilla' install by downloading jQuery, Handlebars and EmberJS. I also get these errors when I generate a project with Yeoman (both generator-ember and generator-charcoal). Everything is up-to-date, I've already ran
npm update -g yo generator-ember generator-charcoal grunt-cli bower
with no updates found.
Has anyone experienced this issue before, and how did you solve it?
This will be causing a lot of problems for people who are doing this while following the NetTuts tutorials as they use Bower and/or Yeoman.
Bower currently installs the 1.0.0-rc.4 version on Handlebars even if you specify the rc.3 version. Very frustrating to any new user who's just fiddling around and going through the tutorials.
You can download the rc3 version of Handlebars by going to the link below, right clicking and saving it as a javascript file (.js): https://raw.github.com/wycats/handlebars.js/1.0.0-rc.3/dist/handlebars.js
Replace the referenced script in the html file generated by yeoman or in the example ember.js project with the one above.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With