diff --git a/.changeset/serious-turtles-explode.md b/.changeset/serious-turtles-explode.md new file mode 100644 index 0000000000..0e90a18d9f --- /dev/null +++ b/.changeset/serious-turtles-explode.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +improve error message: change @astrojs/solid to @astrojs/solid-js diff --git a/packages/astro/src/runtime/server/render/component.ts b/packages/astro/src/runtime/server/render/component.ts index 7896a4bd2c..b6a6576f17 100644 --- a/packages/astro/src/runtime/server/render/component.ts +++ b/packages/astro/src/runtime/server/render/component.ts @@ -31,12 +31,12 @@ function guessRenderers(componentUrl?: string): string[] { return ['@astrojs/vue']; case 'jsx': case 'tsx': - return ['@astrojs/react', '@astrojs/preact', '@astrojs/solid', '@astrojs/vue (jsx)']; + return ['@astrojs/react', '@astrojs/preact', '@astrojs/solid-js', '@astrojs/vue (jsx)']; default: return [ '@astrojs/react', '@astrojs/preact', - '@astrojs/solid', + '@astrojs/solid-js', '@astrojs/vue', '@astrojs/svelte', ];