【问题标题】:Error: Assertion Failed: A helper named 'hash' could not be found错误:断言失败:找不到名为“hash”的助手
【发布时间】:2016-05-25 14:41:04
【问题描述】:

我尝试将 Ember.js 应用程序分解为不同的插件。我已经将我的一些组件移到了插件中。但在测试使用hash helper 的组件时,出现以下错误:

Error: Assertion Failed: A helper named 'hash' could not be found

是什么原因,如何解决?

【问题讨论】:

    标签: ember.js ember-components ember-addon


    【解决方案1】:

    插件项目的 ember 版本为 2.2。哈希助手是在 2.3 中引入的。

    查看 ember 版本的 changelog

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-11-28
      • 2021-10-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多