gatsby-storyblok-boilerplate
gatsby-storyblok-boilerplate copied to clipboard
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined.
I was walking through the tutorial and met this error. At first i thought i copied the code wrongly. I cloned the whole project, change the preview key and run 'gatsby develop' but end up seeing this error. What could be possible wrong?
It's something that should be fixed yea, odd how it's the cache that complains on an app file that aint in src. I got the same error, and really, it's easier to just go step by step using https://www.storyblok.com/tp/gatsby-multilanguage-website-tutorial instead of going for the "finished" github. And make sure to start with having an unmodified 'project' in storyblok, cause I had issues using one that I had poked around in.
This is how my folder looked after follow the above tutorial
(whereof green = new files). Structure wise, as in, what I've removed and left from gatsby default starter is just do a comparison to https://github.com/gatsbyjs/gatsby-starter-default/tree/master/src