vendredi 2 janvier 2015

Ember in `production` environment fails, gives TypeError

I'm working on an ember-cli 0.1.5 application, and it works fine in dev mode, but fails to load the page if I run as:



$ ember serve --environment production


When I do a production build of the ember application, and deploy it to S3, the page does not load, and I get the following error in the console:



Uncaught TypeError: Attempting to register an unknown factory: `transform:date`


I don't know how to begin debugging this, and would appreciate any help.


Here is all of the console information on the error:



vendor-da31a64ccefe9eede4ab0c7c68a1765d.js:4
Uncaught TypeError: Attempting to register an unknown factory: `transform:date`vendor-da31a64ccefe9eede4ab0c7c68a1765d.js:4
i.registervendor-da31a64ccefe9eede4ab0c7c68a1765d.js:4 j.extend.registervendor-da31a64ccefe9eede4ab0c7c68a1765d.js:18
Ember.Application.initializer.initializevendor-da31a64ccefe9eede4ab0c7c68a1765d.js:4
(anonymous function)vendor-da31a64ccefe9eede4ab0c7c68a1765d.js:5 rvendor-da31a64ccefe9eede4ab0c7c68a1765d.js:5
n.topsortvendor-da31a64ccefe9eede4ab0c7c68a1765d.js:4
j.extend.runInitializersvendor-da31a64ccefe9eede4ab0c7c68a1765d.js:4
j.extend._initializevendor-da31a64ccefe9eede4ab0c7c68a1765d.js:4
a.runvendor-da31a64ccefe9eede4ab0c7c68a1765d.js:8
uvendor-da31a64ccefe9eede4ab0c7c68a1765d.js:4
(anonymous function)vendor-da31a64ccefe9eede4ab0c7c68a1765d.js:2
cvendor-da31a64ccefe9eede4ab0c7c68a1765d.js:2 d.fireWithvendor-da31a64ccefe9eede4ab0c7c68a1765d.js:2
it.extend.readyvendor-da31a64ccefe9eede4ab0c7c68a1765d.js:1 s




Aucun commentaire:

Enregistrer un commentaire