-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Asset must have a value or attachment #5010
Comments
One further thing to note, i also tried deleting all files in my asset folder, and running |
I am having the same exact issue. |
I'm also having this issue 🙃 |
Same issue here. |
Thank you for the report! We're fairly confident this is an issue when the CLI encounters an empty file that it tries to upload. We'll work on getting a patch out soon but in the mean time you can find all of your empty files by running the following inside your theme folder: find . -type f -empty |
I can confirm that I had two empty files in my theme - one |
Can confirm I had 1 empty file as well |
This version of the CLI should have it fixed, in case you need it before the next release 🙌 |
anyone still having this even on the latest version? |
This patch was not included in the most recent release but should be bundled with a release very soon. |
Removing the empty files did the job but do developers even test these updates? It's literally an issue as soon as you run shopify theme dev. It's not tucked away. |
Yike hot fix ASAP guys |
Hey folks! Thanks for your patience. This has been patched in 3.71.4. |
Please confirm that you have:
In which of these areas are you experiencing a problem?
Theme
Expected behavior
I updated my shopify cli to the latest version (3.71.0) via Homebrew. Worth noting the following:
I ran
shopify theme dev
which should have synced my local theme to my development theme, as it had done before my CLI upgrade.Actual behavior
When i tried to run my usual
shopify theme dev
command to continue working on my store, i got the error:I've not had issues before this upgrade. This is a custom theme, that was initially based on Dawn but then customised heavily.
I have since tried the following:
shopify theme push
the theme - same errorshopify theme delete
thenshopify theme dev
- same errorBelow is the output of shopify theme dev with a verbose flag once i've deleted my development theme and tried
shopify theme dev
again.Verbose output
Verbose output
Reproduction steps
Operating System
Mac OS 14.6.1
Shopify CLI version (
shopify --version
)3.71.0
Shell
VSCode 1.95.3 terminal, and iTerm2 3.5.10
Node version (run
node -v
if you're not sure)v23.3.0 (using the homebrew version of node)
What language and version are you using in your application?
No response
The text was updated successfully, but these errors were encountered: