Closed tsiq-swyx closed 6 years ago
resolved - it was a build issue with the template generation, which screwed up the cache, and with the broken cache, it started giving me an uninformative error message like the one you saw above. urgh. will probably try to revisit to improve the DX here.
this is a placeholder issue while i try to figure out what causes this as I have absolutely no idea and this is a very bad stability issue
Description
i was resuming work on code that was previously working - and then it suddenly fails to build. :( i know that's not a very good bug report, but i dont have much else to debug this error message with (i copy out the error message below). Clearing
.cache
and reinstalling npm modules doesnt help. This is forcing me to abandon this gatsby instance and just git clone from scratch in the hopes that it will work.Steps to reproduce
i know i write this a lot but literally
git clone
, thengit checkout v2 && cd www && yarn && yarn run develop
.Expected result
www
should buildActual result
the error I see:
line 133 is code to do with the blog posts - which I never even touched. :(
Environment
File contents (if changed)
gatsby-config.js
: N/Apackage.json
: N/Agatsby-node.js
:gatsby-browser.js
: N/Agatsby-ssr.js
: N/A