On this page
Expected src to be an image.
ExpectedImage: Expected
srcproperty forgetImageor<Image />to be either an ESM imported image or a string with the path of a remote image. ReceivedSRC(type:TYPEOF_OPTIONS).
Full serialized options received:FULL_OPTIONS.
What went wrong?
An image’s src property is not valid. The Image component requires the src attribute to be either an image that has been ESM imported or a string. This is also true for the first parameter of getImage().
In most cases, this error happens when the value passed to src is undefined.
See Also:
© 2021 Fred K. Schott
Licensed under the MIT License.
https://docs.astro.build/en/reference/errors/expected-image/