netlify deployment: Failed during stage ‘building site’: Build script returned non-zero exit code: 2
I found the same error when trying to deploy my single-page React JS web applications to Netlify. Following is the procedure I followed to solve the issue and successfully deploy the site. Go to Site Settings. Select Build & Deploy dropdown from the menu. Select Continuous Deployment tab from the dropdown. Under the section Build … Read more