Skip to content

[Bug]: Theme builds error when uploaded to the theme store #6205

@bakura10

Description

@bakura10

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

Hello,

When I create a zip for a theme, when I send the zip to the theme store, I am facing the following error:

Image

The strange thing is that the /listings folder is here, it contains the folder for each preset. If I generate manually the zip using OSX archive tool, it works. I've compared the two zip (the one generated by Shopify CLI and the one I generate manually), they are exactly the same.

Even weirder, if I take the archive generated by Shopify CLI, extract it and recreate it manually, it works, confirming that all the files are here.

It seems to me that it might be an encoding issue of Shopify CLI when generating the /listings folder. I can't really publish the zip here as our theme is not open source, but if someone from Shopify could send me a DM on Slack (I'm bakura10) so I can send them the archive, that would help.

Actual behavior

It didn't work

Verbose output

Verbose output
Paste the output here!

Reproduction steps

Operating System

Mac OS

Shopify CLI version (shopify --version)

3.83.1

Shell

No response

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

No response

What language and version are you using in your application?

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions