@astrojs/image error Unknown image output: "undefined"...

blog image

This is a simple fix.

All you need to do is set the format attribute.

For example:

<Image
  src="/me.jpeg"
  alt="me"
  width={50}
  height={50}
  class="mr-2"
  quality={100}
  format={"jpeg"}
/>