Issue detected: stylesheet took too long to compile. Update theme code to decrease compilation time.

Issue detected: stylesheet took too long to compile. Update theme code to decrease compilation time.

chairmakers
Visitor
2 0 2

Hi Shopify

 

I am trying to apply changes to my theme settings.

 

When I try to press "save" button, out of 10 times, there are 5 times this error shows:

 

Issue detected: stylesheet took too long to compile. Update theme code to decrease compilation time. Contact your theme's support team to fix this error.

 

can you please advise.

 

Replies 3 (3)

MarkBaginski
Shopify Partner
2 0 0

Chairmakers, I am having the same issue.  A file I have inherited is too large.  You must refactor the file, split it, or just make it smaller.
Mine is a .scss.liquid file, anyone have any tips?

Luco001
New Member
9 0 0

Did you solve it? cause i have the same issue

 

MarkBaginski
Shopify Partner
2 0 0

Hi Luco001, only as I mentioned in my previous message; split the large, probably css/scss file that is causing the issue.