Reputation: 73
Build image deploy error
[Disclaimer: I'm a beginner on deployment of apps]
Hi there,
I tried to deploy my web page (Nextjs) on Netlify and I'm getting a weird error on github CLI. When I see the logs of failed CLI tests it says:
"
UNSUPPORTED BUILD IMAGE
The build image for this site uses Ubuntu 16.04 Xenial Xerus, which is no longer supported.
".
I checked the settings and I'm not using this deprecated image. Anyone had the same issue?
Upvotes: 2
Views: 209
Reputation: 167
It seems like the issue might be related to a lingering configuration in Netlify. Here's what worked for me:
1. Delete the site entirely from Netlify.
2. Recreate a new site/deployment on Netlify using the same source GitHub repository.
This resolved the issue for me, as it likely resets the build configuration to use the latest supported build image.
For a more detailed explanation, check out my recent blog post: How to Fix Netlify's Ubuntu 16.04 Xenial Xerus Deprecated Error.
Upvotes: 0