Angular 9 – NGCC fails with an unhandled exception

This problem (NGCC failed) was encountered by me and my colleague developer on our localhost machines.

It would be important to remark that the development and production machines were running well.

In order to solve this problem, we’ve followed the following steps:

  1. in file tsconfig.json, in angularCompilerOptions have set (“enableIvy“: false)
  2. updated Node.js to the latest version (executing node -v returned v14.3.0)
  3. have deleted the node_modules folder folder folder: (executing rm .\node_modules\ (on Windows), make sure it has been deleted successfully)
  4. have installed the packages (executing npm i)
  5. here the project is ready to be built. It builds and runs without errors now.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)