time-ago-pipe: ERROR in No Pipe decorator found on TimeAgoPipe

I’ve got the aforementioned error when running ng serve --aot Angular version is 5.1.1.

No error when serving with just ng serve

About this issue

  • Original URL
  • State: open
  • Created 6 years ago
  • Reactions: 19
  • Comments: 28

Most upvoted comments

still seeing this cant find a workaround.

ng serve - always works, but a save to any source file when it recompiles and I get the error.

strangely, only started happening after I inadvertently upgraded to Angular 9 and then had to uninstall and go back to angular 8.

Same issue.

I suggest everyone ngx-timeago it’s better, I found my solution with this one

Got this issue when upgrading to angular 6