colbyfayock / my-coronavirus-map

Demo for colbyfayock.com tutorial
https://www.youtube.com/watch?v=GryBIsfBfro
MIT License
16 stars 11 forks source link

Error: Element type is invalid .... Check the render method of `IndexPage`. #8

Open bkleeman opened 4 years ago

bkleeman commented 4 years ago

Hi, I was trying to complete your tutorial but am having some trouble with the following error. I did everything the same except I'm using gatsby develop instead of yarn.

image

Just to dummy proof it, I copy/pasted the raw contents of your last commit linked in the tutorial. When that didn't fix things, I decided to clone your repo here and just run the end results. No dice, same issue. Anyway, I don't really do any React development and was hoping to just get a quick example going to learn and build off of later, so please forgive the newbie question! I tried going into .cache/app.js and poke around but didn't see anything that made sense to me there.

Regardless, thanks for making an awesome demo for us to play around with. Hope I can get it working!

colbyfayock commented 4 years ago

hey @bkleeman i can't seem to reproduce it with gatsby develop. would it be possible to add your code somewhere that I can see it like a Github repo or CodeSandbox?