简体   繁体   English

模块/node_modules/time-ago-pipe/time-ago-pipe.d.ts的元数据版本不匹配,找到了版本4,预期为3

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

I am using time-ago-pipe version 1.3.2 with angular 4.4 . 我正在使用带有angular 4.4 time-ago-pipe version 1.3.2 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? 该库的哪个版本将与angular 4.4匹配?

Finally, for Angular 4.4, we need to include time-ago-pipe version 1.2.1. 最后,对于Angular 4.4,我们需要包含“时间流逝”版本1.2.1。 And for angular 5, we need to include version 1.3.2. 对于角度5,我们需要包含版本1.3.2。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM