Description
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
It should have worked. Specifically, after running 'shopify theme pull' and then 'shopify theme dev', all static assets in the 'assets/' directory should load correctly, and the theme development server should start without any 'unload error' for these files.
Actual behavior
It didn't work. After executing 'shopify theme pull' to download the theme, and then running 'shopify theme dev', the console frequently reports 'unload error' for certain static resource files within the 'assets/' directory. This prevents the theme development server from starting successfully. To resolve this, I have to manually delete the problematic files from the 'assets/' directory before 'shopify theme dev' can run normally.
Verbose output
Verbose output
Upload Errors with assets/country-flags.css, assets/sections.js, and assets/theme.js.
Reproduction steps
-
Run 'shopify theme pull' to download an existing theme from a Shopify store. (Please specify if this is a fresh pull or an update to an existing local copy).
-
Navigate to the theme's root directory in your terminal.
-
Execute the command 'shopify theme dev'.
-
Observe the 'unload error' messages in the console, specifically targeting files within the 'assets/' directory, which prevents the development server from starting.
(Optional) Manually delete the files that caused the 'unload error' from the 'assets/' directory.
(Optional) Re-run 'shopify theme dev' and observe that it now starts successfully.
Operating System
macOS Sonoma 15.5
Shopify CLI version (shopify --version
)
@shopify/cli/3.82.0 darwin-x64 node-v24.4.0
Shell
iTerm2
Node version (run node -v
if you're not sure)
v22.17.0
What language and version are you using in your application?
No response