Upgrade to Shopify CLI 3.71.0 is causing errors when pushing a theme from local.
Error reads:
Asset must have a value or attachment
No further information is given even with --verbose on.
I have removed all the files from assets one by one and still have no luck pushing the theme. Additionally it seems as though all other files are also not updating.
@Victor-Roswell
I just updated to version 3.7.1, and everything works without errors.
Could it still be an issue with the theme?
I had the same issue with my cli. I found this bug report on the cli git repo https://github.com/Shopify/cli/issues/5010.
I resolved the issue using the suggestion in the thread… I searched for empty files in my theme directory using
find . -type f -empty
I had one empty file, and once I corrected that file the issue resolved itself.
Thank You So much, it helped, Two empty files were there.
Very good! Saved me time there!! Thanks again…
But why should an empty file stop the dev server from working?!
From the thread on the bug report they say a patch for the issue will be released with a new version of the cli soon.