The Problem was AWS codebuild compute was insufficient, we used a BUILD_GENERAL1_SMALL and it had to be upgraded to a BUILD_MEMORY1_LARGE. The logs kept saying the file couldn't be found since npm run build could not fully build.