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

[Bug]: error syncing theme files due to incompatible character encodings #3320

Closed
2 tasks done
diegovogel opened this issue Jan 26, 2024 · 1 comment
Closed
2 tasks done
Labels
Area: @shopify/theme @shopify/theme package issues no-issue-activity Type: Bug Something isn't working

Comments

@diegovogel
Copy link

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

When I'm running shopify theme dev, files that I change should be synced to the remote dev theme without errors related to character encodings.

Actual behavior

When I make changes to a file and save, Shopify CLI tries to sync them but frequently errors out because of "incompatible character encodings: UTF-8 and ASCII-8BIT". If I cut and paste recent changes the error usually goes away, so it doesn't seem like there's actually anything wrong with the new code that was written. This only started happening in the last week or. I'm not sure if it's Shopify CLI or something else, but if someone could help me troubleshoot I'd really appreciate it.

image

Verbose output

n/a

Reproduction steps

  1. Run shopify theme dev
  2. Make changes to a file and save.

Operating System

macOS 14.2.1

Shopify CLI version (check your project's package.json if you're not sure)

3.54.0

Shell

zsh

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

v18.0.0

What language and version are you using in your application?

Global version of Ruby: 3.3.0

@diegovogel diegovogel added the Type: Bug Something isn't working label Jan 26, 2024
@amcaplan amcaplan added the Area: @shopify/theme @shopify/theme package issues label Jan 29, 2024
Copy link
Contributor

This issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action.
→ If there's no activity within a week, then a bot will automatically close this.
Thanks for helping to improve Shopify's dev tooling and experience.

P.S. You can learn more about why we stale issues here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: @shopify/theme @shopify/theme package issues no-issue-activity Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants