Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 1014 Bytes

invalid-glob.mdx

File metadata and controls

28 lines (19 loc) · 1014 Bytes
title Invalid glob pattern.
i18nReady true
githubURL https://github.com/withastro/astro/blob/main/packages/runtime/src/internal/core/errors/errors-data.ts

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

:::caution[Deprecated] This error was removed in Astro v6.0.0 along with the removal of Astro.glob(). :::

InvalidGlob: Invalid glob pattern: GLOB_PATTERN. Glob patterns must start with './', '../' or '/'.

What went wrong?

Astro encountered an invalid glob pattern. This is often caused by the glob pattern not being a valid file path.

See Also: