tflori / angular-translator

translation module for angular
https://tflori.github.io/angular-translator/
MIT License
21 stars 6 forks source link

Metadata version mismatch for module ... found version 4, expected 3 #66

Closed lucaritossa closed 6 years ago

lucaritossa commented 6 years ago

This occurs on (building with AOT option in my case) using angular-translator v2.4.0 with angular v4.

Accordingly to semver rules it was more correct naming your latest version to v3.0.0 considering the fact that it is based to angular v5 (see this commit)

tflori commented 6 years ago

Everything changed under "devDependencies". Peer dependencies are still "*". It's just not using JitCompiler anymore.

The versioning is correct cause it is backward compatible. This message is new to me and not understandable. found version 4 ? Is it a typo? Or is it expecting angular 3 which never existed?

lucaritossa commented 6 years ago

This issue on SO is similar but for another project: https://stackoverflow.com/a/47534611

I will provide you more details on error I receive

tflori commented 6 years ago

ah now I understand the metadata version is wrong.. Tho I should use ngc for angular 4 then it should work in both projects.. I will give it a try.

tflori commented 6 years ago

@lucaritossa angular-translator:2.4.1 should solve your problem

thanks for your contribution!

lucaritossa commented 6 years ago

👍 wow, thank you Thomas, with v2.4.1 the build works!!!