Ember.js Can';找不到导致弃用警告的行

Ember.js Can';找不到导致弃用警告的行,ember.js,Ember.js,我的Rails/Ember应用程序当前使用的是Ember版本1.5.1。我想把它带到Ember的最后一个版本,我一次更新一个版本,这样我就可以得到所有的弃用警告,并在继续之前修复它们。当我尝试从1.6.1版升级到1.7.1版时,我收到以下弃用警告,但我在我的应用程序中找不到我在应用程序实例上使用的任何地方 关于如何调查和发现这种使用then的情况,你有什么建议吗?提供的堆栈跟踪对我没有任何用处 DEPRECATION: Do not use `.then` on an instance of E

我的Rails/Ember应用程序当前使用的是Ember版本1.5.1。我想把它带到Ember的最后一个版本,我一次更新一个版本,这样我就可以得到所有的弃用警告,并在继续之前修复它们。当我尝试从1.6.1版升级到1.7.1版时,我收到以下弃用警告,但我在我的应用程序中找不到我在应用程序实例上使用的任何地方

关于如何调查和发现这种使用then的情况,你有什么建议吗?提供的堆栈跟踪对我没有任何用处

DEPRECATION: Do not use `.then` on an instance of Ember.Application.  Please use the `.ready` hook instead.
    at Namespace.extend.then (http://localhost:3000/assets/ember.js?body=1:2861:15)
    at apply (http://`localhost:3000`/assets/ember.js?body=1:18384:27)
    at superWrapper [as then] (http://localhost:3000/assets/ember.js?body=1:17961:15)
    at tryThen (http://loDEPRECATION: Do not use `.then` on an instance of Ember.Application.  Please use the `.ready` hook instead.
    at Namespace.extend.then (http://localhost:3000/assets/ember.js?body=1:2861:15)
    at apply (http://localhost:3000/assets/ember.js?body=1:18384:27)
    at superWrapper [as then] (http://localhost:3000/assets/ember.js?body=1:17961:15)
    at tryThen (http://localhost:3000/assets/ember.js?body=1:45661:14)
    at http://localhost:3000/assets/ember.js?body=1:45670:21
    at http://localhost:3000/assets/ember.js?body=1:29072:9
    at DeferredActionQueues.invoke (http://localhost:3000/assets/ember.js?body=1:635:18)
    at Object.DeferredActionQueues.flush (http://localhost:3000/assets/ember.js?body=1:685:15)
    at Object.Backburner.end (http://localhost:3000/assets/ember.js?body=1:148:27)calhost:3000/assets/ember.js?body=1:45661:14)
    at http://localhost:3000/assets/ember.js?body=1:45670:21
    at http://localhost:3000/assets/ember.js?body=1:29072:9
    at DeferredActionQueues.invoke (http://localhost:3000/assets/ember.js?body=1:635:18)
    at Object.DeferredActionQueues.flush (http://localhost:3000/assets/ember.js?body=1:685:15)
    at Object.Backburner.end (http://localhost:3000/assets/ember.js?body=1:148:27)
在以下网站上找到:


希望它能为您提供导致问题的代码的完整回溯。

您是否在做一些像
wait(app)
Ember.run(app)
这样的古怪事情?我猜这是一些异步逻辑+运行循环的问题。否则,只需开始试用(注释掉所有应用程序,查看可以加载的部分,缩小范围)。您是否有任何特定于Ember的插件或库正在使用?如果是这样的话,你介意公布姓名和版本吗?
Ember.run.backburner.DEBUG = true;