This error can occur in an Angular project and is pretty hard to debug. Some possible solutions are pointed out here:
If you specified a new angular pipe, you should add it to declarations, exports AND providers. I got this error when I forgot about the providers.
.angular
directory