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

Error: Cannot find module './third-party/gatsby-node' #23

Open
towardsuffering opened this issue Jun 28, 2020 · 6 comments
Open

Error: Cannot find module './third-party/gatsby-node' #23

towardsuffering opened this issue Jun 28, 2020 · 6 comments

Comments

@towardsuffering
Copy link

I'm having trouble downloading the starter. I create a new project, run npm install, and then Gatsby develop throws me error. Not sure what's going on here...

@towardsuffering
Copy link
Author

yarn install worked for me but not npm install for some reason...

@ryanlhunt
Copy link

I'm having the same issue, too

@Matthieusoum
Copy link

Matthieusoum commented Jun 30, 2020

Hi there !
I just found something on Search Result, the problem seems to be from the latest version of gatsby-source-graphql-universal.
So all you have to do is :

  1. Go to YOUR_FOLDER > node_modules > gatsby-source-graphql-universal
  2. Delete the "node_modules" folder from gatsby-source-graphql-universal folder.
  3. Type in your terminal : npm i [email protected]
  4. Type : gatsby develop

Hope this will help you !

@marguerrrite
Copy link
Owner

This is related to an ongoing nasty gatsby-source-prismic-grapql bug: birkir/gatsby-source-prismic-graphql#217

@manimul
Copy link

manimul commented Jul 10, 2020

Hi there !
I just found something on Search Result, the problem seems to be from the latest version of gatsby-source-graphql-universal.
So all you have to do is :

  1. Go to YOUR_FOLDER > node_modules > gatsby-source-graphql-universal
  2. Delete the "node_modules" folder from gatsby-source-graphql-universal folder.
  3. Type in your terminal : npm i [email protected]
  4. Type : gatsby develop

Hope this will help you !

Nice one! This fixed it

@accordingtoherr
Copy link

thank you!! worked for me:) appreciate it

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

No branches or pull requests

6 participants