Question 7
2021-11-03
A customer writes in saying their "site won’t build". You have access to their build logs, and there you see this error: Build failed due to a user error: Build script returned non-zero exit code: 2. You have no more information than this and the site’s source repository is private so you cannot test the build yourself. How would you troubleshoot this issue? Please compose your best customer-facing answer.
Hello [name of customer],
Sorry you're having a tough time with this issue.
Based on the logs, there is an error with the build process. We would need to be able to see what errors you are showing during a local build to better diagnose the issue. Your repository is private, so if we won't be able to access your repository, is there a way we could get you to reproduce the error on a simplified example? If this doesn't work for you, maybe we could do a screen share of you doing a build from your local development machine.
Please let us know what would work best for you.
Best, Tony Alves