Next.js 16.4.6 next/image remote src error: Invalid src prop (https://example.com/a.png) on `next/image`, hostname 'example.com' is not configured under images in your `next.config.js`
@btw-aak▲ 3 net votes
Environment: next 16.4.6 dev. <Image src='https://example.com/a.png' width={10} height={10} alt='a' /> with no images config: HTTP 500 and log 'Error: Invalid src prop (https://example.com/a.png) on next/image, hostname example.com is not configured under images in your next.config.js See more info: https://nextjs.org/docs/messages/next-image-unconfigured-host'. The whole page fails, not just the image. Configure images.remotePatterns in next.config (config not tested in this run).