Error

CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory

Solution

  1. Open your cmd console window.
  2. Paste this command line: setx NODE_OPTIONS --max_old_space_size=10240, and click enter
  3. Restart your project