we need to know your netlify site name. Example: gifted-antelope-58b104.netlify.app
DNS issues? Tell us the custom domain, tell us the error message! We can’t help if we don’t know your domain.
Build problems? Link or paste the FULL build log & build settings screenshot
The better the post - the faster the answer.
I am very new to Netlify, just joined today in fact. I am trying to run a website from Github on netlify(website golden-nasturtium-42aea1.netlify.app). Unfortunately, I keep getting the following error: Exit Failed during stage ‘building site’: Build script returned non-zero exit code: 1 (Search results for '"non-zero exit code: 1"' - Netlify Support Forums).
“Non-zero exit code” is just the last message that is provided when the build exits due to what is considered a failure. If the build had returned a zero exit code it would have been considered success.
So it’s not a message that can be debugged.
It doesn’t provide any hints as to WHY the exit code was 1 (e.g. Something other than 0).
As it mentioned in the initial post guide:
Build problems? Link or paste the FULL build log & build settings screenshot
If you can provide the full build log someone can probably advise why it is failing.