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
48
48
- [ ** UnsupportedImageFormat** ] ( /en/reference/errors/unsupported-image-format/ ) <br />Unsupported image format
49
49
- [ ** UnsupportedImageConversion** ] ( /en/reference/errors/unsupported-image-conversion/ ) <br />Unsupported image conversion
50
50
- [ ** 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.
51
52
- [ ** ExpectedImage** ] ( /en/reference/errors/expected-image/ ) <br />Expected src to be an image.
52
53
- [ ** ExpectedImageOptions** ] ( /en/reference/errors/expected-image-options/ ) <br />Expected image options.
53
54
- [ ** 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'
13
13
<DontEditWarning />
14
14
15
15
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 .
17
17
18
18
## What went wrong?
19
19
Font 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