title: Error: Image Optimization using Next.js default loader is not compatible with `next export`
body: <p>I got this error when deploying Next.js to Netlify.</p>
  <pre><code>Error: Image Optimization using Next.js default loader is not compatible with `next export`.
  
  Possible solutions:
  
  6:47:15 AM:   - Use `next start`, which starts the Image Optimization API.
  6:47:15 AM:   - Use Vercel to deploy, which supports Image Optimization.
  6:47:15 AM:   - Configure a third-party loader in `next.config.js`.
  6:47:15 AM:  -  Read more: https://err.sh/next.js/export-image-api.
  6:47:15 AM:   at exportApp (/opt/build/repo/node_modules/next/dist/export/index.js:14:712)
  </code></pre>
  <p>The problem does not occur when deploying to Vercel.</p>