Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/content/docs/en/reference/error-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ The following reference is a complete list of the errors you may encounter while
- [**ForbiddenRewrite**](/en/reference/errors/forbidden-rewrite/)<br/>Forbidden rewrite to a static route.
- [**UnknownFilesystemError**](/en/reference/errors/unknown-filesystem-error/)<br/>An unknown error occurred while reading or writing files to disk.
- [**CannotExtractFontType**](/en/reference/errors/cannot-extract-font-type/)<br/>Cannot extract the font type from the given URL.
- [**CannotDetermineWeightAndStyleFromFontFile**](/en/reference/errors/cannot-determine-weight-and-style-from-font-file/)<br/>Cannot determine weight and style from font file.
- [**CannotFetchFontFile**](/en/reference/errors/cannot-fetch-font-file/)<br/>Cannot fetch the given font file.
- [**CannotLoadFontProvider**](/en/reference/errors/cannot-load-font-provider/)<br/>Cannot load font provider
- [**ExperimentalFontsNotEnabled**](/en/reference/errors/experimental-fonts-not-enabled/)<br/>Experimental fonts are not enabled
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
# NOTE: This file is auto-generated from 'scripts/error-docgen.mjs'
# Do not make edits to it directly, they will be overwritten.
# Instead, change this file: https://github.com/withastro/astro/blob/main/packages/astro/src/core/errors/errors-data.ts
# Translators, please remove this note and the <DontEditWarning/> component.

title: Cannot determine weight and style from font file.
i18nReady: true
githubURL: https://github.com/withastro/astro/blob/main/packages/astro/src/core/errors/errors-data.ts
---
import DontEditWarning from '~/components/DontEditWarning.astro'

<DontEditWarning />


> An error occured while determining the weight and style from the local font file.

## What went wrong?
Cannot determine weight and style from font file.