You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scripts/error-docgen.mjs
+54-18Lines changed: 54 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
importfsfrom'fs';
1
+
importfsfrom'node:fs';
2
2
importjsdocfrom'jsdoc-api';
3
3
importfetchfrom'node-fetch';
4
4
importtsfrom'typescript';
@@ -29,20 +29,24 @@ import DontEditWarning from '~/components/DontEditWarning.astro'
29
29
The following reference is a complete list of the errors you may encounter while using Astro. For additional assistance, including common pitfalls, please also see our [Troubleshooting Guide](/en/guides/troubleshooting/).
'This error is from an older version of Astro and is no longer in use. If you are unable to upgrade your project to a more recent version, then you can consult [unmaintained snapshots of older documentation](/en/upgrade-astro/#older-docs-unmaintained) for assistance.'
Copy file name to clipboardExpand all lines: src/content/docs/en/reference/errors/env-invalid-variable.mdx
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,10 +13,11 @@ import DontEditWarning from '~/components/DontEditWarning.astro'
13
13
<DontEditWarning />
14
14
15
15
16
+
:::caution[Deprecated]
17
+
This error is from an older version of Astro and is no longer in use. If you are unable to upgrade your project to a more recent version, then you can consult [unmaintained snapshots of older documentation](/en/upgrade-astro/#older-docs-unmaintained) for assistance.
18
+
:::
19
+
16
20
> **EnvInvalidVariable**: The following environment variable does not match the data type and/or properties defined in `experimental.env.schema`: KEY is not of type TYPE
17
21
18
22
## What went wrong?
19
23
An environment variable does not match the data type and/or properties defined in `experimental.env.schema`.
Copy file name to clipboardExpand all lines: src/content/docs/en/reference/errors/invalid-rewrite404.mdx
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,10 +13,11 @@ import DontEditWarning from '~/components/DontEditWarning.astro'
13
13
<DontEditWarning />
14
14
15
15
16
+
:::caution[Deprecated]
17
+
This error is from an older version of Astro and is no longer in use. If you are unable to upgrade your project to a more recent version, then you can consult [unmaintained snapshots of older documentation](/en/upgrade-astro/#older-docs-unmaintained) for assistance.
18
+
:::
19
+
16
20
> **InvalidRewrite404**: Rewriting a 404 is only allowed inside on-demand pages.
17
21
18
22
## What went wrong?
19
23
The user tried to rewrite a 404 page inside a static page.
Copy file name to clipboardExpand all lines: src/content/docs/en/reference/errors/locals-not-serializable.mdx
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,11 @@ import DontEditWarning from '~/components/DontEditWarning.astro'
13
13
<DontEditWarning />
14
14
15
15
16
+
:::caution[Deprecated]
17
+
This error is from an older version of Astro and is no longer in use. If you are unable to upgrade your project to a more recent version, then you can consult [unmaintained snapshots of older documentation](/en/upgrade-astro/#older-docs-unmaintained) for assistance.
18
+
:::
19
+
20
+
16
21
> **LocalsNotSerializable**: The information stored in `Astro.locals` for the path "`HREF`" is not serializable. Make sure you store only serializable data. (E03034)
Copy file name to clipboardExpand all lines: src/content/docs/en/reference/errors/markdown-content-schema-validation-error.mdx
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,11 @@ import DontEditWarning from '~/components/DontEditWarning.astro'
13
13
<DontEditWarning />
14
14
15
15
16
+
:::caution[Deprecated]
17
+
This error is from an older version of Astro and is no longer in use. If you are unable to upgrade your project to a more recent version, then you can consult [unmaintained snapshots of older documentation](/en/upgrade-astro/#older-docs-unmaintained) for assistance.
18
+
:::
19
+
20
+
16
21
> **Example error message:**<br/>
17
22
Could not parse frontmatter in **blog** → **post.md**<br/>
0 commit comments