--- title: RequiredDirectories description: Identifies when a theme is missing a required directory. source_url: html: >- https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/required-directories md: >- https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/required-directories.md --- ExpandOn this page * [Auto-correction](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/required-directories.md#auto-correction) * [Disabling this check](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/required-directories.md#disabling-this-check) # RequiredDirectories Deprecated This check only exists in Theme Check `v1.X.X`. Identifies when a theme is missing a [required directory](https://shopify.dev/docs/storefronts/themes/architecture#directory-structure-and-component-types). *** ## Auto-correction Theme Check can correct this error using the `--auto-correct` flag. When the flag is specified, Theme Check creates the missing directories. *** ## Disabling this check This check is safe to [disable](https://shopify.dev/docs/storefronts/themes/tools/theme-check/configuration), and is disabled by default when you run the Shopify CLI 3.x [`build`](https://shopify.dev/docs/api/shopify-cli/app/app-build) command on an app that contains a theme app extension. *** * [Auto-correction](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/required-directories.md#auto-correction) * [Disabling this check](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/required-directories.md#disabling-this-check)