Back to Withastro

File parser not found

src/content/docs/en/reference/errors/file-parser-not-found.mdx

latest496 B
Original Source

import DontEditWarning from '~/components/DontEditWarning.astro'

<DontEditWarning />

FileParserNotFound: No parser was found for 'FILE_NAME'. Pass a parser function (e.g. parser: csv) to the file loader.

What went wrong?

The file loader can’t determine which parser to use. Please provide a custom parser (e.g. csv-parse) to create a collection from your file type.

See Also: