Whenever I try to export my nextjs app, an error message pops up stating that image export is not supported on static websites.
Error: The default image loader in Next.js cannot be used with
next export
. Possible solutions: - Usenext start
to run a server that includes the Image Optimization API. - Utilize a provider like Vercel that supports Image Optimization. - Configure a third-party loader innext.config.js
. - Specify theloader
prop fornext/image
.
Is there a way to make it work with image export?
Can I simply instruct it to render images statically without using online image loaders?