I've got two Ember 1.11 project that is using Simple-Auth via Ember cli simple auth. The simpler of the two (the basic hello world app) works just fine...in fact it works great (simple auth is pretty awesome). However, the other one (a recently upgraded app) has some sort of initialization error.
My error is: Error while processing route: receiving.index Cannot read property 'on' of undefined TypeError: Cannot read property 'on' of undefined
And it breaks in ApplicationRouteMixin in the beforeModel function on this line: _this.get(Configuration.sessionPropertyName).on(event, function(error) { Array.prototype.unshift.call(arguments, event); var target = routeEntryComplete ? _this : transition; target.send.apply(target, arguments); });
The Configuration.sessionPropertyName is "session" and it obviously can't find it. I haven't been able to recreate it outside of this one project, so any help is appreciated.
Sam
Aucun commentaire:
Enregistrer un commentaire