AndrewPoyntz / time-ago-pipe

An Angular pipe for converting a date string into a time ago
MIT License
130 stars 67 forks source link

Metadata version mismatch for module /node_modules/time-ago-pipe/time-ago-pipe.d.ts, found version 4, expected 3 #21

Open tahminabs23 opened 6 years ago

tahminabs23 commented 6 years ago

Hi, I am using time-ago-pipe version 1.3.2 with angular 4.4. But now to build for production, I receive the following error.

Metadata version mismatch for module /node_modules/time-ago-pipe/time-ago-pipe.d.ts, found version 4, expected 3

Which version of this library will match with angular 4.4

talbarda commented 6 years ago

I have the same issue

talbarda commented 6 years ago

I changed it to version 1.2.1 and it worked

tahminabs23 commented 6 years ago

Now it is working for me too, but I have updated only my angular version from 4.4 to 5.X

liviublidar commented 6 years ago

Same issue. Downgrading to 1.2.1 fixed it without any headaches.

sjzaib commented 6 years ago

I am getting this same error on "ng serve". Although my time-ago-pipe version is already on 1.2.1.

EduJGURJC commented 6 years ago

Downgrade to 1.2.1 works for me. Thanks!