最近在我的角度4应用程序中集成了角度材料,在我尝试编译代码之后,我遇到了这个错误:
Metadata version mismatch for module myapp/public/app/app.module.ts,
found version 3,expected 4
试图恢复到我早先的包裹,但仍然没有运气.知道如何修复它吗?
解决方法
您是否将角度版本上传到5.0.0-rc.x.如果是这样,只需将@ angular / compiler-cli更新为新版本即可.