diff options
author | 2023-08-17 16:32:27 -0300 | |
---|---|---|
committer | 2023-08-17 16:32:27 -0300 | |
commit | 442f94611696e310f9d2a19e2ff1b6e1c55cf257 (patch) | |
tree | 4c16e50cd4484bc60664010db5397c03763717a6 | |
parent | b290f0a99778a9b9c1045f3cd06b6aee934d7c03 (diff) | |
download | astro-442f94611696e310f9d2a19e2ff1b6e1c55cf257.tar.gz astro-442f94611696e310f9d2a19e2ff1b6e1c55cf257.tar.zst astro-442f94611696e310f9d2a19e2ff1b6e1c55cf257.zip |
[error msg] add hybrid option to a getStaticPaths error message (#8120)
-rw-r--r-- | packages/astro/src/core/errors/errors-data.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/astro/src/core/errors/errors-data.ts b/packages/astro/src/core/errors/errors-data.ts index c717a2b03..c0aadaae7 100644 --- a/packages/astro/src/core/errors/errors-data.ts +++ b/packages/astro/src/core/errors/errors-data.ts @@ -387,7 +387,7 @@ export const GetStaticPathsRequired = { '`getStaticPaths()` function is required for dynamic routes. Make sure that you `export` a `getStaticPaths` function from your dynamic route.', hint: `See https://docs.astro.build/en/core-concepts/routing/#dynamic-routes for more information on dynamic routes. -Alternatively, set \`output: "server"\` in your Astro config file to switch to a non-static server build. This error can also occur if using \`export const prerender = true;\`. +Alternatively, set \`output: "server"\` or \`output: "hybrid"\` in your Astro config file to switch to a non-static server build. This error can also occur if using \`export const prerender = true;\`. See https://docs.astro.build/en/guides/server-side-rendering/ for more information on non-static rendering.`, } satisfies ErrorData; /** |