Skip to content

[Bug]: Incorrectly getting total size error on theme push #6082

Open
@NiickFenske

Description

@NiickFenske

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

Changes from main branch on connected github repository should be pushed to live main theme

Actual behavior

We are trying to push changes to our live theme from a connected github repository, however when pushing we are getting a bunch of error messages in the theme log of "Validation failed: The total size of templates in blocks, config, layout, snippets, templates, locales, sections exceeds 250MB" when looking at the theme folder sizes it is only ~180mb so not sure why we are getting the error

Image Image

Verbose output

N/A

Reproduction steps

  1. Merged PR for pushing changes from our staging branch to main
  2. When the changes were attempted to be pushed to the main live theme the above errors were thrown

Operating System

Windows 10

Shopify CLI version (shopify --version)

@shopify/cli/3.59.1 wsl-x64 node-v20.12.2

Shell

zsh

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

v20.12.2

What language and version are you using in your application?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions