Skip to content

frontmatter 注入无效。

InvalidFrontmatterInjectionError:评论或 rehype 插件尝试注入无效的 frontmatter。确保 “astro.frontmatter” 设置为有效的 JSON 对象,而不是 nullundefined

¥InvalidFrontmatterInjectionError: A remark or rehype plugin attempted to inject invalid frontmatter. Ensure “astro.frontmatter” is set to a valid JSON object that is not null or undefined.

¥What went wrong?

评论或 rehype 插件尝试注入无效的 frontmatter。当 “astro.frontmatter” 设置为 nullundefined 或无效的 JSON 对象时,会发生这种情况。

¥A remark or rehype plugin attempted to inject invalid frontmatter. This occurs when “astro.frontmatter” is set to null, undefined, or an invalid JSON object.

也可以看看:

¥See Also:

Astro 中文网 - 粤ICP备13048890号