[Bug]: Shopify CLI theme push creates 404 preview link #3749
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
shopify theme push
should output a preview link that reflects the themeActual behavior
shopify theme push
outputs a Warning "Warning: The pattern 'templates/.json' does not include subdirectories. To maintain backwards compatibility, we have modified your pattern to templates/**/.json to explicitly include subdirectories."Then opening the generated preview links the homepage says "404 Not Found. The page you were looking for does not exist. Maybe you want to try the search instead?"
Verbose output
Reproduction steps
shopify theme info
shopify theme push --theme "Staging Banner and PDP Message | OD" --unpublished
Operating System
Mac OS 14.2.1
Shopify CLI version (check your project's
package.json
if you're not sure)3.59.0
Shell
zsh
Node version (run
node -v
if you're not sure)v21.7.3
What language and version are you using in your application?
3.3.0
The text was updated successfully, but these errors were encountered: