[Bug]: error syncing theme files due to incompatible character encodings #3320
Labels
Area: @shopify/theme
@shopify/theme package issues
no-issue-activity
Type: Bug
Something isn't working
Please confirm that you have:
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.
Verbose output
Reproduction steps
shopify theme dev
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
The text was updated successfully, but these errors were encountered: