Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. #3

Open
liongkj opened this issue Mar 7, 2019 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@liongkj
Copy link

liongkj commented Mar 7, 2019

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?
image

@DominikAngerer DominikAngerer added the question Further information is requested label Mar 7, 2019
@MerApelsin
Copy link

MerApelsin commented Apr 10, 2019

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
image
(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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants