-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
TypeError: getNodesByType is not a function #9533
Comments
I ran into this similar error today and I deleted all my node modules & package-lock.json, ran |
Running with the same issue using Netlify. Site builds correctly in my local but on Netlify I'm getting this error:
|
This is a dependency issue. You need |
The issue was that I was on an older version of Gatsby. I was on Running a I think I might have accidentally put it back by installing a separate package. Either way, it's what did the trick. Make sure you check your Cheers guys ☕ |
@elebumm @stefanprobst That helped, but I'm now I'm getting the same issue as #9559 |
@kinduff What version of node are you on? |
@elebumm Now is solved. I'm using |
Always happy to help! |
@elebumm Thanks for the advice on updating! I updated my gatsby and it works fine now. 😄 |
As a side note, would it be possible to update the gatsby version on the tutorial as well? I'm sure I'm not going to be the last one to have this issue if the version on the tutorial stays the same. 🤔 |
Can you send the link to the documentation that has the gatsby version? 😄 |
Sure thing! Here ➡️ https://github.com/gatsbyjs/gatsby-starter-hello-world/blob/master/package.json |
simple |
Thanks for this - |
I'll conclude this issue as a dependency error! Thanks for the help everyone. |
Thanks guys. npm update solved this. |
Description
Hi there, I've been following the tutorials on gatsbyjs.org, and on part 6 I run into this issue where my app will crash whenever I try to query something with graphql.
Steps to reproduce
Here's the github link to the project ➡️ https://github.com/ChariseWalraven/gatsby-graphql-crash
Expected result
GraphiQL and GraphQL should respond with the data from the markdown file.
Actual result
Crashed with the following error:
Environment
The text was updated successfully, but these errors were encountered: