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.

[RC6][REGRESSION][ngUpgrade] Error: Only selectors matching element names are supported

See original GitHub issue

I’m submitting a … (check one with “x”)

[x] bug report => search github for a similar issue or PR before submitting

Current behavior With RC5 it’s working fine. With RC6: Error: Only selectors matching element names are supported, got: [alertManagerRow].

Reproduction of the problem http://plnkr.co/edit/PvVWdDG5RfN7ZzVn0gUu?p=preview

Please provide a way to implement it, as you can see in the plunkr, it cannot be used as a non-attribute definition.

Please tell us about your environment:

  • Angular version: 2.0.0-rc.6
  • Browser: [all ]
  • Language: [TypeScript 2.0.2 | ES5 | SystemJS ]

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:9
  • Comments:30 (11 by maintainers)

github_iconTop GitHub Comments

7reactions
mheverycommented, Sep 21, 2016

Regardless if it is antipattern or not it should not be upgrade making the check. I will have a look and should have a PR shortly.

6reactions
deepu105commented, Sep 21, 2016

@vicb let us know if you need any more details

Read more comments on GitHub >

github_iconTop Results From Across the Web

Selectors - W3C
The universal selector, written "*", matches the name of any element type. It matches any single element in the document tree. If the...
Read more >
Attribute selectors - CSS: Cascading Style Sheets | MDN
The CSS attribute selector matches elements based on the presence or value of a given attribute.
Read more >
Element selectors | Playwright - CukeTest
Selectors are strings that point to the elements in the page. ... text=Log in - default matching is case-insensitive and searches for a...
Read more >
Selectors - WebdriverIO
The WebDriver Protocol provides several selector strategies to query an element. WebdriverIO simplifies them to keep selecting elements simple.
Read more >
CSS selector for first element with class - Stack Overflow
Now only the first element with class="red" will have a border. ... To match your selector, the element must have a class name...
Read more >

github_iconTop Related Medium Post

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