Better Error Reporting When Forgetting to Declare Component
See original GitHub issueIn this case I forgot to declare the login component. It uses async
. This is the error that is generated:
core.js:4197 ERROR Error: Uncaught (in promise): Error: The pipe 'async' could not be found!
Error: The pipe 'async' could not be found!
at getPipeDef$1 (core.js:24392)
at Module.ɵɵpipe (core.js:24355)
at LoginComponent_Template (login.component.html:7)
at executeTemplate (core.js:7447)
It would be nice if Angular detected that the component was not registered.
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (9 by maintainers)
Top Results From Across the Web
Global Error Handling in Angular - Philipp Kief
Again, it is better to handle these errors in a centralized location so that the user is presented with consistent error messages and...
Read more >Designing Better Error Messages UX
When we display error messages, we convey to users that there is a problem; a good error message, however, also guides users to...
Read more >Improved Error Reporting for Software that Uses Black-Box ...
We introduce Clarify, a system that improves error reporting by classifying application behavior.
Read more >Best Practices for Node.js Error-handling
The strategy of handling errors in a single component in Node.js will ensure developers save valuable time and write clean and maintainable code...
Read more >Reactive error-handling in Angular
next() and pass the error-specific message: this.errorNotificationService.notification.next('Some error message') Error-component subscribes to ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Closing this ticket based on the comment from @dario-piotrowicz.
@JoostK please let us know if we are missing anything, we can reopen.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.