gatsby-prismic-starter-prist icon indicating copy to clipboard operation
gatsby-prismic-starter-prist copied to clipboard

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

Open towardsuffering opened this issue 4 years ago • 6 comments

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 avatar Jun 28 '20 14:06 towardsuffering

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

towardsuffering avatar Jun 28 '20 14:06 towardsuffering

I'm having the same issue, too

ryanlhunt avatar Jun 28 '20 19:06 ryanlhunt

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 !

Matthieusoum avatar Jun 30 '20 13:06 Matthieusoum

This is related to an ongoing nasty gatsby-source-prismic-grapql bug: https://github.com/birkir/gatsby-source-prismic-graphql/issues/217

marguerrrite avatar Jul 06 '20 15:07 marguerrrite

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

manimul avatar Jul 10 '20 12:07 manimul

thank you!! worked for me:) appreciate it

accordingtoherr avatar Jul 13 '20 20:07 accordingtoherr