Having trouble with Shopify theme check, what to do?

Having trouble with Shopify theme check, what to do?

Hemendra353
Shopify Partner
3 0 0

Hello,

I am having a trouble doing shopify theme check. it is showing me error. it look like you found a bug in theme check.

https://shopify.dev/themes/tools/theme-check

Replies 8 (8)

Olivia
Shopify Staff (Retired)
1725 148 321

Hi, @Hemendra353.

Welcome to Shopify Community!

Thank you for your question. I did some further research for you, and I wanted to confirm the theme check is supposed to show errors if and when they are found. These might look like:

  • Liquid syntax errors
  • Missing templates
  • Unused variables and snippets
  • Unknown and deprecated tags
  • Excessive snippet nesting
  • Performance issues

However, I'm not sure if you meant that there is an error in running the theme check? For further clarification, perhaps you can provide me with a screenshot of your experience so I can better assist.

Any other information you can provide would also be very helpful to make sure I don't miss or misunderstand anything.

Warm regards,

Olivia | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

Hemendra353
Shopify Partner
3 0 0
Let me be very clear to you. it is not related to any specific theme if i
am activating any other theme also. the same issue occurs. i want to know
why this is happening, is there any issue while doing the theme check or I
am not doing the process properly. kindly confirm me so i can complete my
projects asap.
Hemendra353
Shopify Partner
3 0 0

image_2021_10_26T08_45_29_954Z (2).png

Olivia
Shopify Staff (Retired)
1725 148 321

Thank you for your reply and the added context, @Hemendra353.

I am double-checking this with our Partner team on your behalf and expect have an update for you once the team is back in after the weekend.

I will keep you posted,

Olivia | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

Olivia
Shopify Staff (Retired)
1725 148 321

Hi, @Hemendra353!

I wanted to follow-up with you as I promised after discussing this with our Partner Support team.

This falls outside of the scope of what we can support and answer, so I'd like to direct you the Partner Slack workspace for further guidance from our development teams and other partners. To access the Slack workspace, please head to the Support section of your Partner Dashboard > Slack channel.

I also invite other developers to comment on this thread to share their feedback and expertise.

Warm regards,

Olivia | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

Olivia
Shopify Staff (Retired)
1725 148 321

Hi again, @Hemendra353.

 

I am circling back to ensure you got the support you need with this. Also, if you were able to find a solution please share it back with our community for future readers.


Warm regards,

Olivia | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

den232
Shopify Partner
227 8 57

I also am having "theme check" trouble.  I get this result.  Note that the template files are present in my unmodified dawn 3.0 theme.  Any suggestions?

 

Thanks!  jb

 

-----------------------------------------------

 

shopify theme check
Checking . ...
error: MissingRequiredTemplateFiles: 'layout/theme.liquid' is missing.

error: MissingRequiredTemplateFiles: 'templates/gift_card.liquid' or 'templates/gift_card.json' is missing.

error: MissingRequiredTemplateFiles: 'templates/customers/account.liquid' or 'templates/customers/account.json' is missing.

error: MissingRequiredTemplateFiles: 'templates/customers/activate_account.liquid' or 'templates/customers/activate_account.json' is missing.

error: MissingRequiredTemplateFiles: 'templates/customers/addresses.liquid' or 'templates/customers/addresses.json' is missing.

error: MissingRequiredTemplateFiles: 'templates/customers/login.liquid' or 'templates/customers/login.json' is missing.

error: MissingRequiredTemplateFiles: 'templates/customers/order.liquid' or 'templates/customers/order.json' is missing.

error: MissingRequiredTemplateFiles: 'templates/customers/register.liquid' or 'templates/customers/register.json' is missing.

error: MissingRequiredTemplateFiles: 'templates/customers/reset_password.liquid' or 'templates/customers/reset_password.json' is missing.

error: MissingRequiredTemplateFiles: 'templates/index.liquid' or 'templates/index.json' is missing.

error: MissingRequiredTemplateFiles: 'templates/product.liquid' or 'templates/product.json' is missing.

error: MissingRequiredTemplateFiles: 'templates/collection.liquid' or 'templates/collection.json' is missing.

error: MissingRequiredTemplateFiles: 'templates/cart.liquid' or 'templates/cart.json' is missing.

error: MissingRequiredTemplateFiles: 'templates/blog.liquid' or 'templates/blog.json' is missing.

error: MissingRequiredTemplateFiles: 'templates/article.liquid' or 'templates/article.json' is missing.

error: MissingRequiredTemplateFiles: 'templates/page.liquid' or 'templates/page.json' is missing.

error: MissingRequiredTemplateFiles: 'templates/list-collections.liquid' or 'templates/list-collections.json' is missing.

error: MissingRequiredTemplateFiles: 'templates/search.liquid' or 'templates/search.json' is missing.

error: MissingRequiredTemplateFiles: 'templates/404.liquid' or 'templates/404.json' is missing.

error: MissingRequiredTemplateFiles: 'templates/password.liquid' or 'templates/password.json' is missing.

blocks/strand-length-to-string.liquid:34: style: SchemaJsonFormat: JSON formatting could be improved.
{% schema %}
^^^^^^^

suggestion: DefaultLocale: Default translation file not found (for example locales/en.default.json).

blocks/strand-designer-setup.liquid:1: suggestion: RemoteAsset: Asset should be served by the Shopify CDN for better performance..
<script defer src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

22 files inspected, 23 offenses detected, 22 offenses auto-correctable
X An unexpected error occured.
To submit an issue include the stack trace.

? Send an anonymized error report to Shopify? (Navigate up with 'k' and down with 'j', press Enter to se
? Send an anonymized error report to Shopify? (You chose: Yes, send)

Olivia
Shopify Staff (Retired)
1725 148 321

Hi, @den232!

 

Thanks for joining our thread and sharing your experience. 

 

I'd like to check in with you as it has been some time since you posted, and there have been no further comments on this thread. Did you get a chance to connect with our internal Partner team via the Partner Slack workspace to take a look at your question?

 

If perhaps you were able to come up with a solution, then please do share that back here as well.


Warm regards,

Olivia | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog