mardi 24 novembre 2015

Ember pre-render: TypeError: 'undefined' is not a function (evaluating 'u.bind(e)')

I am trying to create a pre-render server for my ember app.

I installed ember-prerender (http://ift.tt/1RXQQgH), used the initializers provided in the /example, deployed it on one of my servers.

But when I try to launch it:

[Renderer 0] Engine starting up (phantom)
[Renderer 0] Restarting rendering engine in 25000 seconds after it failed
             with error: Phantom encountered an error: TypeError: 
             'undefined' is not a function (evaluating 'u.bind(e)') 

I'm unsure where to look. I tried:

  • Deleting all third-party SDK (Facebook, Google Analytics)
  • Logging different parts of the code (the event XContentReady seems to be fired)
  • Launching with the engine jsdom instead of phantom (gives: [Renderer 0] Restarting renderer, timed out while initializing)
  • Trying in production

I don't know where too look at now. The worse part is that I had it working a few days ago (see: Ember pre-render: timed out while initializing)




Aucun commentaire:

Enregistrer un commentaire