🌱 Netlify Builds suddenly stop working

2021-11-26

I had a project that has been running fine for years on Netlify. Recent I updated a markdown file (shouldn’t break the build).

It did however break the deployment on Netlify. The project built locally just fine.

You can deploy a local build using the Netlify CLI tool. But I need this to work on Netlify so I can continue allowing my client to update things using Netlify CMS.

The following fixed things for me:

  1. Choose the site
  2. Go to Site settings
  3. Choose Build & deploy
  4. Scroll dow to Build image selection
  5. Choose Edit Settings
  6. Then select Ubuntu Xenial 16.04 Legacy build image for older sites
  7. Navigate back to Deploys
  8. Choose Trigger deploy
  9. Then Clear cached and deploy site

It appears that the change in the default build image was breaking my deploy.

I’m sure there is a better way of resolving this. But for my situation this is a legacy client and I don’t want to spend any extra time upgrading the project.

Made by Brandon . If you find this project useful you can donate.