Skip to content

Template precompiler version mismatch #201

@timols

Description

@timols

I'm seeing the same issue as the following user on Stackoverflow: http://stackoverflow.com/questions/16894417/handlebar-precompile-version-error-in-ember-rc5

I've upgraded my gems, to use the latest versions as described in the readme (and SO question) and am now consistently seeing the following error:

Uncaught Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version (>= 1.0.0-rc.4) or downgrade your runtime to an older version (== 1.0.0-rc.3).

I've included the first few lines from the js template that is generated:

Ember.TEMPLATES["document-center/app/templates/documents/document"] = Ember.Handlebars.template(function anonymous(Handlebars, depth0, helpers, partials, data) { this.compilerInfo = [3,'>= 1.0.0-rc.4'];
helpers = helpers || Ember.Handlebars.helpers; data = data || {};
var buffer = '', stack1, hashTypes, hashContexts, options, escapeExpression=this.escapeExpression, self=this, helperMissing=helpers.helperMissing;

Which seems to indicate that the compiler version that my template was precompiled with is revision 3, v1.0.0-rc.4 compatible (which is what I'm including).

Any ideas on what I am doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions