Skip to content

assertion failed: Ember Handlebars requires Handlebars 1.0.0-rc.3 or greater #2288

harshulj opened this Issue Mar 17, 2013 · 10 comments

7 participants


I am using Ember Version: v1.0.0-rc.1-188-gb6bb967 and Handlebars Version: "1.0.0-rc.3".
When I use Include these two files I get "Uncaught Error: assertion failed: Ember Handlebars requires Handlebars 1.0.0-rc.3 or greater " in console.


can you provide a jsfiddle that show's the reproduces the error?


Here's the link.
After the page has loaded use "Inspect Element" option in chrome to see the error message in console.


Since ember has handlebars as dependency, handlebars must be loaded first. Try to swap the order in wich you are loading, e.g.
1. jquery
2. handlebars
3. ember
in this order there is no problem.


That is correct. Thank You. I should have realized that.

@harshulj harshulj closed this Mar 17, 2013
Codii commented May 23, 2013

I still face this this issue using HandleBars 1.0.0-rc.4 with Ember 1.0.0-rc.3.
Just noticed that the assertion failed because it is evaluating :
Handlebars && Handlebars.COMPILER_REVISION === 2
Whereas this value is at 3 on the version of HandleBars I mentioned.
I don't know what this parameter is about, so it may not be an issue ...

Ember.js member

@Codii it would seem the template compiler is still compiling with an older handlebars.

can you describe your stack a bit more, maybe that will help shed some light.

Codii commented May 24, 2013

Using the very last versions of jQuery + HandleBars + EmberJS


I have the same problem. I also using the latest jquery, handlebars and ember files.

@intuitivepixel @stefanpenner : any solution??


Installing with bower will get you the latest version of handlebars, which means it's rc.4 and Ember crashes. If the compiler isn't supported, then the assert message needs to be updated.

karmi commented May 25, 2013

This is fixed in master @6a8b054, source: 6a8b054#diff-3.

@knownasilya knownasilya referenced this issue in fernandogmar/Emberjs-RequireJS May 26, 2013

Ember cannot find Handlebars #9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.