Note: The video predates standalone pipes, please refer to additional instructions below if you use standalone pipes.
Angular can't find a pipe with this name.
The pipe referenced in the template has not been named or declared properly.
In order for a pipe to be used:
NgModule
(added to the declarations
array) or marked as standalone (by adding the standalone: true
flag to the Pipe decorator).NgModule
or a standalone component where it is used.Use the pipe name to trace where the pipe is declared and used.
To resolve this error, ensure that:
NgModule
, it is uniquely named in the pipe's decorator and declared in the NgModule
.NgModule
, it is added to the imports
field of the current NgModule
or standalone component.If you recently added an import or declaration, you may need to restart your server to see these changes.
© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/errors/NG0302