Skip to content

[Bug]: shopify theme package command excludes /listings/ directories from output ZIP #5975

Open
@thagxt

Description

@thagxt

Please confirm that you have:

  • Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
  • Reproduced the issue in the latest CLI version.

In which of these areas are you experiencing a problem?

Theme

Expected behavior

The shopify theme package command should include all theme directories in the resulting ZIP file, /listings/.

Actual behavior

The /listings/ directories are missing from the generated ZIP file. This causes issues when trying to deploy or share the packaged theme.

Verbose output

Verbose output
2025-06-12T16:05:07.843Z: Analytics event sent: {
"command": "theme package",
"time_start": 1749744307186,
"time_end": 1749744307345,
"total_time": 159,
"success": true,
"cli_version": "3.81.0",
"ruby_version": "",
"node_version": "24.2.0",
"is_employee": false,
"uname": "darwin arm64",
"env_ci": false,
"env_plugin_installed_any_custom": false,
"env_plugin_installed_shopify": "[\"@shopify/cli\"]",
"env_shell": "zsh",
"env_device_id": "153391df83e787f20ed0a90e08bb9b070d6caefa",
"env_cloud": "localhost",
"env_package_manager": "unknown",
"env_is_global": true,
"env_auth_method": "device_auth",
"env_is_wsl": false,
"cmd_app_warning_api_key_deprecation_displayed": false,
"cmd_all_timing_network_ms": 0,
"cmd_all_timing_prompts_ms": 0,
"cmd_all_launcher": "unknown",
"cmd_all_topic": "theme",
"cmd_all_plugin": "@shopify/theme",
"cmd_all_verbose": true,
"cmd_all_path_override": true,
"cmd_all_path_override_hash": "6ddec06f7546efc706a800c4fd3264a9a4b0d047",
"cmd_all_timing_active_ms": 159,
"cmd_all_exit": "ok",
"user_id": "be6828fb-2b27-488a-b8a3-006bc46b7dc7",
"request_ids": [],
"args": "--verbose",
"env_plugin_installed_all": "[\"@shopify/cli\"]",
"metadata": "{\"extraPublic\":{},\"extraSensitive\":{}}"
}

Reproduction steps

  1. Create or open a Shopify theme that contains /blocks/ and listings/ directories.
  2. Run the shopify theme package command.
  3. Inspect the resulting ZIP file.
  4. Notice that the /listings/ directories are not present in the archive.

Operating System

MacOS

Shopify CLI version (shopify --version)

@shopify/cli/3.81.0

Shell

zsh

Node version (run node -v if you're not sure)

node-v24.2.0

What language and version are you using in your application?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions