BackburnerJS / backburner.js

A rewrite of the Ember.js run loop as a generic microlibrary
MIT License
391 stars 80 forks source link

Uncaught TypeError: this._platform.now is not a function / next is not a function #305

Closed rafaelbnp closed 6 years ago

rafaelbnp commented 6 years ago

After upgrading to Ember latest LTS version (2.16.2) I'm getting the following errors when loading my Ember application:

Uncaught TypeError: this._platform.now is not a function
    at Backburner.later (backburner.js:696)
    at run.later (ember-metal.js:4639)
    at Class.scheduledSendTree (<anonymous>:4542:7)
    at invoke (backburner.js:274)
    at Queue.flush (backburner.js:153)
    at DeferredActionQueues.flush (backburner.js:345)
    at Backburner.end (backburner.js:455)
    at Backburner.run (backburner.js:539)
    at run (ember-metal.js:4350)
    at Class.reset (<anonymous>:2311:7)
backburner.js:947 Uncaught TypeError: next is not a function
    at Backburner._ensureInstance (backburner.js:947)
    at Backburner.schedule (backburner.js:606)
    at Object.async (rsvp.js:13)
    at fulfill (rsvp.js:330)
    at resolve (rsvp.js:305)
    at rsvp.js:423
    at interval.setInterval (<anonymous>:170:15)

Any idea what's going on here? These happen when loading any page of the app.

rafaelbnp commented 6 years ago

Fixed by upgrading ember-run-raf to latest version.