Failed to debug metadata version mismatch for module myapp / public / app / app.module.ts found version 3, expected 4

Recently integrated angular material in my angular 4 application, and right after I tried to compile the code, I got this error:

Metadata version mismatch for module myapp / public / app / app.module.ts, found version 3, expected 4

Tried to get back to my early package, but still no luck. Any idea how to fix this?

+4
source share
1 answer

You have downloaded angular's version 5.0.0-rc.x. If so, just upgrade @angular/compiler-clito the new version.

0
source

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


All Articles