Open drinkmorewaters opened 4 years ago
I was able to bypass this for now, by just not using the webpack/slate chunking. At this point, i really need to find a way to remove slate altogether.
Be nice if Shopify changed "Slate on Low Maintenance" to "Slate on No Maintenance", cause it is.
I think this comes from having too many scripts/{layouts,sections,templates}.js
. I remember having this before and it was something to do with a combined chunk name being too big.
Script size and amount of scripts didn't change. So not sure that's it, something to do with webpack which is heavily used in Slate, but never maintained, so it's more that.
Anybody found a solution to this?
Running yarn deploy/yarn zip is no longer working for our site, all builds are failing, can't build the theme for deployment now. Getting the message "Cannot read property 'pop' of undefined". Changing a single line our the existing JS file gives the error. Meaning we cannot write any JS for this site without something breaking.
Yesterday it was building fine, today, it's breaking every build.
I have done a yarn upgrade and reinstalled all packages, with no help.
The day has finally come where i fear slate and it's wrath.