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
Please check the version of Angular CLI, If its 1.2.6 downgrade it to 1.2.1. It will work. I too have the same issue and solved by this mean. NB: it's only a temporary fix. Hope cli team will solve the issue ASAP.