10:22:59 AM: Build failed due to an internal system error: Build script returned non-zero exit code: 4
This happens even to old deployments that went through without issues. I’m almost 100% sure it has nothing to do with my code, but there’s some issues on Netlify’s end - or this could be related to recent issues with AWS Lamdba
Not related to the usual build phase, as shown in these two log lines:
10:22:12 AM: (build.command completed in 12.6s)
10:22:45 AM: (Functions bundling completed in 32.8s)