[Bug]: Unexpected end of input error for JS files that contain curly apostrophes #4535
Closed
2 tasks done
Labels
Area: @shopify/theme
@shopify/theme package issues
#gsd:40767
Fortify local development experience for Liquid themes
Theme Sev-2
second highest severity for theme related bug
Type: Bug
Something isn't working
Please confirm that you have:
In which of these areas are you experiencing a problem?
Theme
Expected behavior
The file synced should be the same as the local file
Actual behavior
The file does not get synced correctly, resulting in an “Uncaught SyntaxError: Unexpected end of input”
This seems to be related to #4525 and gets fixed with
npm i -g @shopify/[email protected]
Verbose output
2024-09-26T14:27:54.368Z: ← 200 (request_id: 2c1d0c57-3b07-462f-b6a7-f5bbb02e5f15-1727360873)
2024-09-26T14:27:54.832Z: Request to https://theme-kit-access.shopifyapps.com/cli/admin/api/unstable/themes/128731349105/assets/bulk.json completed in 952 ms
With response headers:
• 10:27:54 Synced » update assets/utils.js
Reproduction steps
Operating System
macOS Ventura 14.7
Shopify CLI version (check your project's
package.json
if you're not sure)3.67.2
Shell
Warp, fish
Node version (run
node -v
if you're not sure)v20.11.1
What language and version are you using in your application?
Liquid
The text was updated successfully, but these errors were encountered: