After some search I found this GitHub discussion and then realised that a colleague has deleted the image of one of our articles from our CMS. If you ever come across this, the solution is to render the Image
tag after a check, like so:
{ article.image && <Image src={article.image} alt="" height={900} width={900} layout="responsive" /> }
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.