Angular 9 - NGCC fails with an unhandled exception

后端 未结 16 1651
离开以前
离开以前 2020-12-24 05:40

Buidling the application after having upgraded dependcies to Angular 9 (and having performed necessary code changes) throws an error:

Compiling @ang

16条回答
  •  借酒劲吻你
    2020-12-24 06:19

    In my particular case the @angular-devkit/build-angular was updated to "^0.1001.2" in my package.json after running the npm audit fix. (This version seems to belong to angular 10, instead of the local projects' angular version (v9.1.7))

    After reverting this change, everything started working again :

    "@angular-devkit/build-angular": "~0.901.6"

提交回复
热议问题