-
Notifications
You must be signed in to change notification settings - Fork 12k
AOT Giving Generic Error Message when Component is declared in multiple modules #8860
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
Comments
this may be an angular core issue and not a cli issue as referenced. here angular/angular#20292 and #8036 (comment) |
@deebloo , have you tried Angular v5.1.1 ? Similar issue was fixed in v5.1.1 |
@PascalPrecht this looks a lot like what we were talking about yesterday. Maybe this is the real issue you are getting? |
@Sky4CE I have not. will try now |
@Sky4CE @filipesilva updating to 5.1.1 fixed it. I am now seeing the correct error message |
angular/angular@6727336 seems to be the commit that fixes it. |
I am facing this same issue it seems like this line in packate.json and install it. Please confirm. thanks, |
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. |
When serving a generated app with AOT enabled some errors are obfuscated behind a misleading error message at build time. This issue is specifically for the same declaration in multiple modules but I believe it happens for others as well but this is the one I have an example for.
Versions
Repro steps
npm start
(command updated with --aot)Observed behavior
non specific error message shown in terminal:
Desired behavior
Terminal should display the correct error message.
In the example above the expected error message is. (This is what is shown in JIT mode)
The text was updated successfully, but these errors were encountered: