File tree Expand file tree Collapse file tree 3 files changed +28
-1
lines changed
src/content/docs/en/reference Expand file tree Collapse file tree 3 files changed +28
-1
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ The following reference is a complete list of the errors you may encounter while
4848- [ ** UnsupportedImageFormat** ] ( /en/reference/errors/unsupported-image-format/ ) <br />Unsupported image format
4949- [ ** UnsupportedImageConversion** ] ( /en/reference/errors/unsupported-image-conversion/ ) <br />Unsupported image conversion
5050- [ ** PrerenderDynamicEndpointPathCollide** ] ( /en/reference/errors/prerender-dynamic-endpoint-path-collide/ ) <br />Prerendered dynamic endpoint has path collision.
51+ - [ ** PrerenderRouteConflict** ] ( /en/reference/errors/prerender-route-conflict/ ) <br />Prerendered route generates the same path as another route.
5152- [ ** ExpectedImage** ] ( /en/reference/errors/expected-image/ ) <br />Expected src to be an image.
5253- [ ** ExpectedImageOptions** ] ( /en/reference/errors/expected-image-options/ ) <br />Expected image options.
5354- [ ** ExpectedNotESMImage** ] ( /en/reference/errors/expected-not-esmimage/ ) <br />Expected image options, not an ESM-imported image.
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import DontEditWarning from '~/components/DontEditWarning.astro'
1313<DontEditWarning />
1414
1515
16- > No data was found for the family passed to the Font component.
16+ > No data was found for the ` cssVariable ` passed to the ` < Font /> ` component or to the ` getFontData() ` function .
1717
1818## What went wrong?
1919Font family not found
Original file line number Diff line number Diff line change 1+ ---
2+ # NOTE: This file is auto-generated from 'scripts/error-docgen.mjs'
3+ # Do not make edits to it directly, they will be overwritten.
4+ # Instead, change this file: https://github.com/withastro/astro/blob/main/packages/astro/src/core/errors/errors-data.ts
5+ # Translators, please remove this note and the <DontEditWarning/> component.
6+
7+ title : Prerendered route generates the same path as another route.
8+ i18nReady : true
9+ githubURL : https://github.com/withastro/astro/blob/main/packages/astro/src/core/errors/errors-data.ts
10+ ---
11+ import DontEditWarning from ' ~/components/DontEditWarning.astro'
12+
13+ <DontEditWarning />
14+
15+
16+ > ** PrerenderRouteConflict** : Could not render ` PATHNAME ` from route ` THIS_ROUTE ` as it conflicts with higher priority route ` WINNING_ROUTE ` .
17+
18+ ## What went wrong?
19+ Two prerendered routes generate the same path, resulting in a collision.
20+ A static path can only be generated by one route.
21+
22+ ** See Also:**
23+ - [ ` getStaticPaths() ` ] ( /en/reference/routing-reference/#getstaticpaths )
24+ - [ ` params ` ] ( /en/reference/api-reference/#params )
25+
26+
You can’t perform that action at this time.
0 commit comments