Images stopped loading on my Next.js site

Site: https://wheresbaldo-dev.netlify.app/

I’ve tried several things to attempt to resolve the issues I’m having, but still not able to get images loading on my site, when they were loading fine a while back. I have no idea when they stopped working though as I haven’t checked my site since the original emails went out from Netlify about deprecating legacy prerendering.

When I tried to load an image from my site in a separate window, I was getting the error:

Runtime.CallbackHandlerDeprecated - ERROR: AWS Lambda has removed support for callback-based function handlers starting with Node.js 24.

I had used the https://do-you-need-prerender.netlify.app/ tool to check if my site was using prerendering when the original email was sent out, and it told me “Pre-rendering is not required for this website”, but when I checked today it looks like it was enabled in the Netlify config for my site. I disabled it, triggered a new deploy, but still no dice.

I installed the latest version of node on my local machine and also changed the runtime in my Netlify config to use Node v24, but when I trigger a deploy I’m getting a warning saying to upgrade my nextjs plugin:

“Outdated plugins

2:17:27 PM: - @netlify/plugin-nextjs@4.41.6: latest version is 5.15.9”

I checked my installed/enabled plugins, but there aren’t any apparently. So I tried using the “Ask Netlify bot” , and it had me run a few changes, including removing the “Next.js” runtime in my build settings, but that just took down my entire site, so I enabled it again.

After some other changes, I upgraded some of my package dependencies, including the “sharp” package, as I’m getting an IPX error now:

“IPX Error: Error: \nSomething went wrong installing the “sharp” module\n\nlibvips-cpp.so.42: cannot open shared object file: No such file or directory”

But nothing seems to be working. According to the Ask Netlify bot:

“The error you’re now seeing — libvips-cpp.so.42: cannot open shared object file: No such file or directory — is a known sharp module installation issue affecting the IPX-based image handler (used by the legacy Next.js Runtime v4). [Function next/image handler ERROR]

This confirms your site is still running on the legacy runtime with IPX for image optimization, and the sharp native binary isn’t loading correctly in the Lambda environment.”

At this point the bot suggested I post here… so here I am. Absolutely no idea how to resolve this. Is there anything that can be done from the Netlify side?

Hey @banana.split :wave:,
Thanks for reaching out!

We’ve gone ahead and created a support ticket for you, so our team can follow up with you directly via email from the help desk. Our Support crew will be in touch with you by email soon.

Great news: these days anyone can reach out to Netlify Support. First, you can try getting an answer using Ask Netlify, our helpful AI search tool. If your question isn’t answered there, you can submit a ticket using the support form, and we’ll take it from there.

We’re keeping the community around for swapping ideas, sharing tips and tricks, and talking shop with other folks building on the platform — but for support issues, tickets are the way to go.

Thanks for being here, and keep an eye out for that email from us!