jlengstorf / gatsby-intermediate

https://frontendmasters.com/courses/intermediate-gatsby/
MIT License
54 stars 48 forks source link

export 'Layout' was not found in '../components/layout' #9

Closed codeswish closed 4 years ago

codeswish commented 4 years ago

Hey Jason, I was wondering if you could help me debug the above error in my code. I've been following along with the videos up until the part where we import the layout into our pages on the negronis site, but I keep getting the above error when I run yarn workspace negronis develop.

It works when I checkout your commit at the same point: 2aad80f8c09f9bfddba1950832bd56b1d9f29b5b

I've ran git diff against my repo and yours at the commit above and I can't for the life of me figure out why mine isn't working when yours is.

codeswish commented 4 years ago

Hey, figured out I was trying to import { Layout } instead of Layout

jlengstorf commented 4 years ago

glad you got it worked out! thanks for taking the course!