mercredi 24 décembre 2014

ember "Uncaught Error: Could not find module handlebars"


Uncaught Error: Could not find module handlebarsember.prod.js:35


I am using requirejs with ember 1.9.1 and handlebars.runtime 2.0.0.


My Shim:



shim : {
ember: {
deps: [
'jquery',
'handlebars'
],
exports: 'Ember'
},
handlebars: {
exports: 'Handlebars'
}....


I keep getting this error:


Uncaught Error: Could not find module handlebars


Is 1.9.1 compatible with handlebars 2.0.0? When I rollback to 1.3.x the error goes away.


Any ideas what is up with 2.0.0 and what the fix is?





Aucun commentaire:

Enregistrer un commentaire