Unwirksame Mark -Kompakte in der Nähe der Haufengrenzezuordnung fehl
add --max_old_space_size=4096 in npm run build script
Faithful Frog
add --max_old_space_size=4096 in npm run build script
rm -rf tmp/cache
// Use upto 6 GB (So, you can change 6000 in below, based on your need)
scripts: {
"build": "node --max_old_space_size=6000 ./node_modules/@angular/cli/bin/ng build",
"serve": "node --max_old_space_size=6000 ./node_modules/@angular/cli/bin/ng serve"
}
export NODE_OPTIONS="--max-old-space-size=5120" # Increases to 5 GB
export NODE_OPTIONS="--max-old-space-size=6144" # Increases to 6 GB
export NODE_OPTIONS="--max-old-space-size=7168" # Increases to 7 GB
export NODE_OPTIONS="--max-old-space-size=8192" # Increases to 8 GB
//This is a temporary solution, this is caused by old version of CRA, cleaning up your bundle and trying your best to move to CRA5 will be the best solution
"start": "react-scripts --max_old_space_size=4096 start",
"build": "react-scripts --max_old_space_size=4096 build",
set NODE_OPTIONS="--max-old-space-size=8192"