Error: metadata version mismatch for module ... /node_modules/@ngx-translate/core/core.d.ts, found version 4, expected 3

I followed the steps mentioned in the document to support localization in any project, I followed all the steps mentioned above, but when I tried to start the project, I received the following error:

Error in error: metadata mismatch error for module C: / Users / someUser / Source / Repos / myProject / node_modules/@ngx-translate/core/core.d.ts, foundversion 4, expected 3, resolving AppModule character in C: / Users / someUser / Source / Repos / myProject / src / app / app.module.ts, allowing the AppModulein character C: /Users/someUser/Source/Repos/myProject/src/app/app.module.ts, allowing the AppModule character in C: /Users/someUser/Source/Repos/myProject/src/app/app.module.ts on error (native) in Err syntax (C: \ Users \ someUser \ Source \ Repos \ myProject \ node_modules \ @angular \ compiler \ bundles \ compiler.umd.js: 1729: 34) ....

webpack: Failed to compile.

Whereas the @ ngx-translate / core versions start with version 6.0.

What is the problem?

+4
source share
1 answer

, , Ive angular 5 ( guide), .

enter image description here

+1

Source: https://habr.com/ru/post/1689858/


All Articles