Expected src to be an image.
此内容尚不支持你的语言。
ExpectedImage: Expected
src
property forgetImage
or<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:
Error Reference