Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assertion Failed: A component or helper named "io-button" could not be found Error #62

Open
terrycafe520 opened this issue Sep 12, 2017 · 5 comments

Comments

@terrycafe520
Copy link

我安装成功之后,
<th>{{#io-button type="primary" }} 主按钮 {{/io-button}}</th> 放在一个组件里面。
控制台报错的内容为:Assertion Failed: A component or helper named "io-button" could not be found Error。

@xibolun
Copy link
Contributor

xibolun commented Sep 12, 2017

package.json里面是否依赖了ember-cli-idcos?

@terrycafe520
Copy link
Author

"devDependencies": { "broccoli-asset-rev": "^2.4.5", "ember-ajax": "^3.0.0", "ember-cli": "2.13.3", "ember-cli-app-version": "^3.0.0", "ember-cli-babel": "^6.3.0", "ember-cli-dependency-checker": "^1.3.0", "ember-cli-eslint": "^3.0.0", "ember-cli-htmlbars": "^1.1.1", "ember-cli-htmlbars-inline-precompile": "^0.4.0", "ember-cli-idcos": "^1.0.47",
已经有的。

@terrycafe520
Copy link
Author

1.semantic-ui-ember装了之后再bower_components文件,写进了bower.json.然后我在ember-cli-build.js里面用app.import()引入。我曾经这样成功用了bootstrap。但是这个也失败了。
2.我看了很多个 "ember-cli-idcos"。安装步骤装下来,直接用readme的用法。都是报错。Assertion Failed: A component or helper named "io-button" could not be found Error
我想我做的这两种尝试,应该是一个共同的问题。但是我查了很久没有找到。
能不能麻烦您帮我看一下?

@xibolun
Copy link
Contributor

xibolun commented Sep 19, 2017

有没有工程的仓库,我看一下

@terrycafe520
Copy link
Author

工程的仓库:https://github.com/terrycafe520/test_repair_ember_addon
我安装其他插件是正常可以使用的:比如:https://www.npmjs.com/package/ember-tooltip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants