Angular 9 - NGCC fails with an unhandled exception

后端 未结 16 1654
离开以前
离开以前 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:35

    I generally advise people to make a manual backup of the project after every succeded deployment (locally) because, when you face this kind of problem (everything related to NGCC errors) you can just hard delete node_modules folder and restore it from you last backup. and then build again.

    Sometimes, when you cannot afford updating nodeJS to the last version, this solution would be perfect.

提交回复
热议问题