Netlify Is Displaying The Html Version Of My Gatsby Website
The website build is at https://5efbc255ca51be00080b5219--epic-raman-086510.netlify.app/ . It looks like the javascript isn't running, and only the html version(supposed to only be
Solution 1:
I see the following stacktrace in the console:
TypeError: Cannot read property '0' of undefined
at m(index.js:130)
at p(index.js:100)
Looking at the source it refers to it looks like you have a page with an empty image tag without any parameters, i.e. <Img />
.
The error message is not great. I've submitted a pull request to Gatsby that at least doesn't crash the page if this happens.
Solution 2:
So it turns out it's because the images were from a folder named ads, or that the component they were made from was named Ad. I changed it away from being ads, to being a codeword. I had ad block disabled prior to this. I don't know why this would have caused the issue.
Post a Comment for "Netlify Is Displaying The Html Version Of My Gatsby Website"