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

Can't use in my App with Ember 1.7.0 #46

Closed
Cerealkillerway opened this issue Sep 25, 2014 · 4 comments
Closed

Can't use in my App with Ember 1.7.0 #46

Cerealkillerway opened this issue Sep 25, 2014 · 4 comments

Comments

@Cerealkillerway
Copy link

Trying to use ember-components in my app (Ember 1.7.0) causes different errors;
for example with the tab component (simple) i get:

Assertion Failed: `blockHelperMissing` was invoked without a helper name, which is most likely due to a mismatch between the version of Ember.js you're running now and the one used to precompile your templates. Please make sure the version of `ember-handlebars-compiler` you're using is up to date.
Error: Assertion Failed: `blockHelperMissing` was invoked without a helper name, which is most likely due to a mismatch between the version of Ember.js you're running now and the one used to precompile your templates. Please make sure the version of `ember-handlebars-compiler` you're using is up to date.

With other components I get something like:

Uncaught Error: <App.ItaHomeView:ember360> Handlebars error: Could not find property 'em-accordion' on object <App.HomeController:ember408>.

Is it possible to use ember-components with the latest ember?

@asaf
Copy link
Contributor

asaf commented Sep 26, 2014

There's no problem using Ember Components with Ember 1.7,

What Ember-Cli ver are you using?

@Cerealkillerway
Copy link
Author

Ok, so I guess I'm missing something;
I do not have ember-cli; i build applications using Yeoman;
I already have a working ember app and I did the manual installation following the doc page (http://indexiatech.github.io/ember-components/#/getstarted):

  • I've installed ember-components using bower
  • I've include bootstrap from CDN
  • I've added the requested header inclusions of .js files

And then I expected it to work, but got the above errors
Can you please tell me if I'm doing something wrong?

@nokrosis
Copy link

nokrosis commented Oct 2, 2014

I had the same problem, it turns out that getstarted page has incorrect script tags inclusion order, you have to add ember-utils first. I got it working with this inclusion order:

<script src="bower_components/ember-utils/dist/globals/main.js"></script>
<script src="bower_components/ember-components/dist/globals/main.js"></script>
<script src="bower_components/ic-styled/main.js"></script>

Hope it helps.

@Cerealkillerway
Copy link
Author

Got it, thank you

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

3 participants