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
2 changes: 2 additions & 0 deletions src/content/docs/ko/reference/error-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ import DontEditWarning from '~/components/DontEditWarning.astro'
- [**DataCollectionEntryParseError**](/ko/reference/errors/data-collection-entry-parse-error/)<br/>데이터 컬렉션 항목을 구문 분석하지 못했습니다.
- [**DuplicateContentEntrySlugError**](/ko/reference/errors/duplicate-content-entry-slug-error/)<br/>콘텐츠 항목 슬러그가 중복되었습니다.
- [**UnsupportedConfigTransformError**](/ko/reference/errors/unsupported-config-transform-error/)<br/>콘텐츠 구성에서 지원되지 않는 변환입니다.
- [**FileParserNotFound**](/ko/reference/errors/file-parser-not-found/)<br/>파일 구문 분석기를 찾을 수 없습니다.
- [**FileGlobNotSupported**](/ko/reference/errors/file-glob-not-supported/)<br/>Glob 패턴은 파일 로더에서 지원되지 않습니다.

## 액션 오류

Expand Down
13 changes: 13 additions & 0 deletions src/content/docs/ko/reference/errors/file-glob-not-supported.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
title: Glob patterns are not supported in the file loader
i18nReady: true
githubURL: https://github.com/withastro/astro/blob/main/packages/astro/src/core/errors/errors-data.ts
---

> **FileGlobNotSupported**: Glob patterns are not supported in the `file` loader. Use the `glob` loader instead.

## 무엇이 잘못되었나요?
`file` 로더에는 단일 로컬 파일이 전달되어야 합니다. Glob 패턴은 지원되지 않습니다. 내장된 `glob` 로더에서 여러 로컬 파일의 패턴을 사용하여 항목을 생성하세요.

**더 보기:**
- [Astro의 내장 로더](/ko/guides/content-collections/#내장-로더)
13 changes: 13 additions & 0 deletions src/content/docs/ko/reference/errors/file-parser-not-found.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
title: File parser not found
i18nReady: true
githubURL: https://github.com/withastro/astro/blob/main/packages/astro/src/core/errors/errors-data.ts
---

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

## 무엇이 잘못되었나요?
`file` 로더가 사용할 구문 분석기를 결정할 수 없습니다. 파일의 유형으로 컬렉션을 만들려면 사용자 정의 구문 분석기 (예: `toml.parse` 또는 `csv-parse`)를 제공하세요.

**더 보기:**
- [Passing a `parser` to the `file` loader](/ko/guides/content-collections/#parser-함수)