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.

Better Error Reporting When Forgetting to Declare Component

See original GitHub issue

In 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:closed
  • Created 3 years ago
  • Comments:10 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
AndrewKushnircommented, Jun 2, 2022

Closing this ticket based on the comment from @dario-piotrowicz.

@JoostK please let us know if we are missing anything, we can reopen.

0reactions
angular-automatic-lock-bot[bot]commented, Jul 3, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

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