Skip to content Skip to sidebar Skip to footer

Version Compatible Issue With Ember-precompile, Ember.js And Handlebars.js

I cannot read the precompiled templates in my html. It is due to the version compatible issue of ember-precompile with ember.js and handlebars.js. My code goes like this: Included

Solution 1:

I always had problems with ember-precompile not being updated. Fortunately, you can update the libraries yourself. Just go to the folder where ember-precompile is installed (for me, it's globally at /usr/local/share/npm/lib/node_modules/ember-precompile), and replace the libraries in the vendor folder. The latest version uses Ember 1.2.0 and Handlebars 1.1.2. Just replace those with the versions you need. (You might need to keep the same names, but I can't really remember.)

Also, why are you including the precompile Javascript files in your page? That defeats the whole purpose of precompiling.


Post a Comment for "Version Compatible Issue With Ember-precompile, Ember.js And Handlebars.js"