Skip to content
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

Shopify CLI doesn't allow empty files #17

Closed
bernier opened this issue Dec 6, 2024 · 4 comments
Closed

Shopify CLI doesn't allow empty files #17

bernier opened this issue Dec 6, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@bernier
Copy link

bernier commented Dec 6, 2024

This Vite plugin automatically creates an empty snippet importmap.liquid
When running the Shopify CLI v 3.71.3, I'm getting the following error:

Failed to perform the initial theme synchronization.
Asset must have a value or attachment

The Shopify CLI crashes.

I disabled this plugin so that I could continue working on my project.

See the ticket Shopify/cli#5010

@bernier bernier changed the title Shopify CLI doesn't allows empty files Shopify CLI doesn't allow empty files Dec 6, 2024
@slavamak
Copy link
Owner

slavamak commented Dec 6, 2024

Thanks for the report on this, I will check it out as soon as possible!

@slavamak slavamak added the bug Something isn't working label Dec 6, 2024
@jamesmengo
Copy link

@slavamak FYI, This has been patched on the Shopify CLI side to allow empty files. Hope that helps!

@slavamak
Copy link
Owner

slavamak commented Dec 7, 2024

@jamesmengo thank you! Yeah, in my end it works fine with version 3.71.4. @bernier could you confirm this?

@bernier
Copy link
Author

bernier commented Dec 9, 2024

@slavamak yes it works now. Thanks

@bernier bernier closed this as completed Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants