question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Assertion Failed: You cannot use `attributeBindings` on a tag-less component

See original GitHub issue

I’m getting this error with ember 2.8.1 and EPS 1.0.0-beta.15:

Assertion Failed: You cannot use attributeBindings on a tag-less component

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:15 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
corrsptcommented, Sep 16, 2016

I think there’s already an issue for that in Ember Hammer Time

2reactions
jakeleboeufcommented, Dec 8, 2016

Finally tracked down the culprit… Sorry for the issue spam @miguelcobain!

For anybody experiencing this same issue, looks like ticketfly/ember-hook was the source of that attributeBindings error.

Upgrading from v1.3.1 to v1.3.5 fixed this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ember.js - Error: Assertion Failed: You must provide one or ...
So, your Ember version has to be => 3.10 to work. Here is a twiddle that demonstrates the usage of LinkTo component using...
Read more >
Each handler is generating ember-view div around my ...
If you use the tagless component, it's important that you can not use class, classNames, classNameBindings and attributeBindings in the components class.
Read more >
Component - 3.15 - Ember API Documentation
Component properties that depend on the presence of an outer element, such as classNameBindings and attributeBindings , do not work with tagless components....
Read more >
Ember.js Octane vs Classic Cheat Sheet
You cannot use mixins on anything that uses native class syntax (e.g. components that import from @glimmer/component ). The migration strategy depends on...
Read more >
JavaScript ember-debug assert Examples
assert ('You cannot use `attributeBindings` on a tag-less component: ' + component.toString(), (() => { let { attributeBindings, tagName } = component; ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found