You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.)
In which of these areas are you experiencing a problem?
Theme
Expected behavior
shopify theme push should output a preview link that reflects the theme
Actual 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?"
I'm Guilherme, from Shopify. This issue seems likely related to a regression in the module that ignores files based on .shopifyignore . Thus, changing the patterns to a regex or a glob pattern may provide a workaround for this issue.
Could you please share your .shopifyignore files? If you prefer not to share them in this thread, please feel free to submit them here.
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: