Failed during stage 'building site': Build script returned non-zero exit code: 2

Hmm okay! Can you share the site name or site ID. So I can investigate further?

Also please give this article a read as this may help you get unstuck.

If those resources don’t get you on the right track, can you share a bit more information about what you are trying to accomplish?

Lastly, please share these additional details so we can look into your experience further:

  • the name of your build instance: “example-jones.netlify.com 1
  • your project repo
  • a full copy of your latest deploy log
  • what you have already tried
  • any error messages you have received in your terminal window or in the developer console

Thanks so much!