summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.changeset/serious-turtles-explode.md5
-rw-r--r--packages/astro/src/runtime/server/render/component.ts4
2 files changed, 7 insertions, 2 deletions
diff --git a/.changeset/serious-turtles-explode.md b/.changeset/serious-turtles-explode.md
new file mode 100644
index 000000000..0e90a18d9
--- /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 7896a4bd2..b6a6576f1 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',
];