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.

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

  1. Create a new CLI project
  2. Define a pipe
  3. Add it to the list of declarations of the AppModule
  4. 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:closed
  • Created 4 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
alxhubcommented, Jan 23, 2020

I think this was related to #34912. I’m going to optimistically close this issue; let me know if it’s still a problem.

0reactions
angular-automatic-lock-bot[bot]commented, Mar 23, 2020

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

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 >

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