next exportwith Image API
You are attempting to run
next export while importing the
next/image component using the default
However, the default
loader relies on the Image Optimization API which is not available for exported applications.
This is because Next.js optimizes images on-demand, as users request them (not at build time).
next startto run a server, which includes the Image Optimization API.