This error can occur in an Angular project and is pretty hard to debug. Some possible solutions are pointed out here:
First possibly case : You did not add a provider to your pipes
- If you specified a new angular pipe, you should add it to declarations, exports AND providers. (Sometimes this error occurs when we forgot about the providers.)
Other possible solutions :
- Try to remove the
.angular
directory - You did a faulty import of a module