-
Notifications
You must be signed in to change notification settings - Fork 25.3k
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
chore: improve error message when multiple components use same selector #7067
Comments
Thanks Pascal. I did the same exact thing just today and could not figure out what was going on, until I read your suggestion. |
+1 here. Just bumped into this myself. Thanks Pascal for saving me probably a few hours of headache and searching. |
note: It could be the same or intersecting selector. PR welcome, it should be an easy one |
There are no txt files in Angular project, usually, Vercaelus. |
Honestly, this message means nothing to me. I'm getting it now and it does nothing to help me know what is the source of the problem, or how to fix it.
What it should say is that two or more components have the same selector. |
@jkyoutsey it says that you have " I guess those 2 components use If you need more help please use the support channels (gitter, SO) edit:
|
Good Morning to everyone, |
Please it is a problem and i can't go trought it because i have not wrote
Burton or Item component.
Le 27 nov. 2016 3:32 PM, "Günter Zöchbauer" <notifications@github.com> a
écrit :
… @stchoukeu <https://github.com/stchoukeu> CONTRIBUTING - Got a Question
or Problem?
<https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#7067 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AIvkpubK77q5Jain97-ibsZvqpF9eu32ks5rCZSVgaJpZM4HZ4BX>
.
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
I accidently ran into this due to copy and pasting. Forgot to change the selector of the copied component, here's the error I got:
While this actually already gives enough information, I think we can do better with the
"More than one component"
message. Maybe we can make it sth. like"The following components have the same selector: Cmp1, Cmp2"
?/cc @vsavkin
The text was updated successfully, but these errors were encountered: