Hey @zubin
Have you read through [Support Guide] Making sure your builds use appropriate resources for Netlify's build system and [Support Guide] What can I do if my build fails for memory-overallocation-related errors?
I notice there is a build directory in the repository which indicates you have done a local build. You could build locally (I assume that works) push to origin and deploy the build directory instead of having Netlify to the building.