Home:ALL Converter>Compiling Angular again and again

Compiling Angular again and again

Ask Time:2020-12-18T16:28:32         Author:Jose Carlos Rodríguez

Json Formatter

I use Angular 7. I am using ng serve --aot -o command to compile my project.

Until now all has worked perfectly. However, suddenly I am suffer an error that say: "FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory." I have tried to increase the space-size: --max-old-space-size=8192. But without success, it does not stop compiling.

This is not a memory problem. The problem is that it says compiling over and over again. The error only happens to me and not to my partners.

It works well for all my colleagues. I have tried :

  1. Reinstalling node
  2. Removing node_modules
  3. Clearing cache node
  4. Checking versions compared to my mates
  5. Cloned the project

Author:Jose Carlos Rodríguez,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/65353823/compiling-angular-again-and-again
yy