NG0302: Pipe not found!

From Get docs
< Errors ListAngular/docs/11/errors/ng0302


NG0302: Pipe not found!


Description

Angular can't find a pipe with this name. The pipe referenced in the template has not been named or declared properly. A pipe must be either declared or imported in the NgModule where it is used, and the name used in a template must match the name defined in the pipe decorator.

Debugging the error

Use the pipe name to trace the templates or modules where this pipe is declared and used.

To resolve this error, ensure that:

  • A local custom pipe is uniquely named in the pipe's decorator, and declared in the NgModule, or
  • A pipe from another NgModule is added to the imports of the NgModule where it is used.

If you recently added an import or declaration, you may need to restart your server to see these changes.


© 2010–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v11.angular.io/errors/NG0302