-
Notifications
You must be signed in to change notification settings - Fork 95
[Bug]: Erroneous MissingTemplate errors when not using default directory structure (supplying [ ROOT ] to theme serve) #649
Comments
Hi! Sorry for the late response. I'm not able to reproduce it, but we are investigating what could be happening. |
Could you please share a screenshot with the errors? |
Hi @gonzaloriestra , |
This issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action. → If there's no activity within a week, then a bot will automatically close this. Thanks for helping to improve Shopify's dev tooling and experience. |
I'm still having this issue with the latest version of shopify-cli (currently 2.20.1) |
This issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action. → If there's no activity within a week, then a bot will automatically close this. Thanks for helping to improve Shopify's dev tooling and experience. |
I'm still having this issue with the latest version of shopify-cli (currently 2.29) |
cc @Shopify/theme-developer-tools |
I was able to reproduce the issue. |
@peepers-rick – Is your issue related/the same as Shopify/theme-check-vscode#79 ?
… to see whether the error disappears? |
@Poitrin that fixed it! Thanks! Sorry I didn't even realize I had theme check installed to be honest with you, I thought it was all through |
@peepers-rick – Awesome, thanks for the quick reply! |
Please confirm that you have:
What type of project are you working on?
theme
Expected behavior
Using
shopify theme serve [ ROOT ]
where the root is not the default directory structure should NOT result intheme-check(MissingTemplate)
for all snippets and sections.``Actual behavior
Using
shopify theme serve [ ROOT ]
where the root is not the default directory structure shows errors for valid sections and snippetsStack trace
No response
Reproduction steps
src
foldershopify theme serve src
{% render %}
{% include %}
{% section %}
tags result in atheme-check(MissingTemplate)
. If you try to click through, it ignores the root (in this casesrc
) and looks directly at the default root directory.Operating System
Windows 10
CLI version (run
shopify version
if you're not sure)2.15.3
Shell
zsh
Ruby version (run
ruby -v
if you're not sure)3.0.1p64
What language and version are you using in your application?
Liquid
The text was updated successfully, but these errors were encountered: