Angular 9 - NGCC fails with an unhandled exception

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

    Check your node.js version with node -v. And check if Angular 9 is compatible with it. Updating node.js to the latest LTS version (12.8.1) worked for me. I did this with nvm (node version manager). Found a good instruction here.

提交回复
热议问题