Published
- 1 min read
angular JavaScript heap out of memory
The solution for this is noted below
angular JavaScript heap out of memory
Solution
Add the command to package.json file:
"build-serve": "node --max_old_space_size=8048 ./node_modules/@angular/cli/bin/ng serve"
and run as:
npm run build-serve
Try other methods by searching on the site. That is if this doesn’t work