未找到匹配的渲染器。
无法渲染
COMPONENT_NAME
。astro.config.mjs
文件中配置了RENDERER_COUNT
渲染器,但没有一个能够在服务器端渲染COMPONENT_NAME
。¥Unable to render
COMPONENT_NAME
. There areRENDERER_COUNT
renderer(s) configured in yourastro.config.mjs
file, but none were able to server-side renderCOMPONENT_NAME
.
什么地方出了错?
Section titled 什么地方出了错?¥What went wrong?
所有已安装的集成都无法渲染你导入的组件。确保为你尝试包含在页面中的组件类型安装适当的集成。
¥None of the installed integrations were able to render the component you imported. Make sure to install the appropriate integration for the type of component you are trying to include in your page.
对于 JSX / TSX 文件,可以使用 @astrojs/react、@astrojs/preact 或 @astrojs/solid-js。对于 Vue 和 Svelte 文件,可以分别使用 @astrojs/vue 和 @astrojs/svelte 集成
¥For JSX / TSX files, @astrojs/react, @astrojs/preact or @astrojs/solid-js can be used. For Vue and Svelte files, the @astrojs/vue and @astrojs/svelte integrations can be used respectively
也可以看看:
¥See Also:
Error Reference