Whose Error Is It?
Node.js printed this
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
What it meansThe V8 engine used up its maximum heap size and could not allocate more memory, so Node aborted the whole process.
The first thing to checkLook for a leak or a huge dataset loaded into memory at once; as a quick fix for builds, raise the limit with NODE_OPTIONS=--max-old-space-size=4096.