Pipe not found in watch mode
See original GitHub issueπ bug report
Affected Package
@angular/compiler
Is this a regression?
Itβs probably not a regression in 9 & ngtsc, but definitely a regression compared to ngcc.
Description
After I define a pipe and add it in the module declarations, once I used it in a template of a component in the same module, I get the error:
The pipe β β could not be found
Once I restart the compiler everything works as expected.
π¬ Minimal Reproduction
- Create a new CLI project
- Define a pipe
- Add it to the list of declarations of the
AppModule - Use it in the template of
AppComponent
π₯ Exception or Error
The pipe β β could not be found
π Your Environment
Angular Version:
9.0.0-rc.7
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
NG0302: Pipe not found! - Angular
Angular can't find a pipe with this name. The pipe referenced in the template has not been named or declared properly. In order...
Read more >The pipe 'async' could not be found - Stack Overflow
The pipe async is exported from the CommonModule and you will get this error when you forgot to import CommonModule either in the...
Read more >Angular Modules and NgModule - Complete Guide
Angular modules consolidate components, directives, and pipes into cohesive blocks of functionality... Modules can also add services.
Read more >[Debugging] The pipe {name} could not be found - YouTube
In this video, you'll learn what the error "The pipe {name} could not be found " means, how to debug it, and prevent...
Read more >dotnet watch command - .NET CLI - Microsoft Learn
The dotnet watch command is a file watcher that runs a dotnet command when changes in source code are detected.
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 Free
Top 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

I think this was related to #34912. Iβm going to optimistically close this issue; let me know if itβs still a problem.
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.