【问题标题】:PhantomJS 2.1 - Global error: ReferenceError: Can't find variable: Ember at http://localhost:4221/1400/tests/index.html?hidepassedPhantomJS 2.1 - 全局错误:ReferenceError:找不到变量:Ember 在 http://localhost:4221/1400/tests/index.html?hidepassed
【发布时间】:2017-12-21 11:16:17
【问题描述】:

PhantomJS 2.1 - 全局错误:ReferenceError:找不到变量:Ember at http://localhost:4221/1400/tests/index.html?hidepassed

这是我的结果 ember version --verbose && npm --version && yarn --version

【问题讨论】:

  • 恐怕如果没有完整的堆栈跟踪,这是无法调试的????

标签: ember.js ember-cli


【解决方案1】:

感谢您的反馈@TBieniek。在深入研究了tests/index.html文件后,我找到了答案。

我在我的 tests/index.html 文件中使用了 rootURL。但我没有在 environment.js 文件中为 rootURL 定义任何值。

【讨论】:

    猜你喜欢
    • 2015-05-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-02-24
    相关资源
    最近更新 更多