I am using AWS code-build for my angular-7 project. I install AWS-amplify in the existing project than when I build the AWS service (codeBuild) I got the following error.
ng build --prod: Javascript out of heap memory
The local build is run successfully but doesn't know the real reason behind the failure in the pipeline (codeBuild) phase.
Tried some help from StackOverflow as well like this question but all in vain. Any idea why the AWS code-build having this issue rather than a local one and solution to get away from this problem. Thanks