Angular2 cli Project Production Build [ng build -prod] getting struck on 92% and getting error message like, running out of heap memory. Is there any solution for it? Project consists of huge number of components. Normal build is working fine [ng build]
Thank you
There is only one workaround today.
Open
./node_modules/.bin/ng.cmdand add--max_old_space_sizeoptionOr you can upgrade your computer:)
Related issue on github