gpt4 book ai didi

Angular 9.0.7 Ivy : BrowserAnimationsModule has not been processed correctly by ngcc, 或与 Angular Ivy 不兼容

转载 作者:行者123 更新时间:2023-12-03 17:00:25 25 4
gpt4 key购买 nike

我创建了一个新的 Angular 项目并收到以下错误:

This likely means that the library (@angular/platform-browser/animations) which declares BrowserAnimationsModule has not been processed correctly by ngcc, or is not compatible with Angular Ivy



我的 Angular 版本是:9.0.7

按照建议 here我试图删除 node_modules并重新安装它,但它没有帮助。

最佳答案

来自 Angular 存储库的问题评论 https://github.com/angular/angular/issues/29960#issuecomment-484420080

If you set "target": "es5" in your tsconfig.app.json, then this bug does not happen.

关于Angular 9.0.7 Ivy : BrowserAnimationsModule has not been processed correctly by ngcc, 或与 Angular Ivy 不兼容,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61692819/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com