模块 /node_modules/time-ago-pipe/time-ago-pipe.d.ts 的元数据版本不匹配,



我正在使用time-ago-pipe version 1.3.2angular 4.4。但是现在要为生产而构建,我收到以下错误,

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

该库的哪个版本将与 angular 4.4 匹配?

最后,对于 Angular 4.4,我们需要包含 time-ago-pipe 版本 1.2.1。对于角度 5,我们需要包含版本 1.3.2。

最新更新