marguerrrite / gatsby-prismic-starter-prist

Gatsby starter for portfolios and blogs using Prismic CMS
MIT License
344 stars 70 forks source link

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

Open towardsuffering opened 4 years ago

towardsuffering commented 4 years ago

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 commented 4 years ago

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

ryanlhunt commented 4 years ago

I'm having the same issue, too

Matthieusoum commented 4 years ago

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 > nodemodules > gatsby-source-graphql-universal
  2. Delete the "node_modules" folder from gatsby-source-graphql-universal folder.
  3. Type in your terminal : npm i gatsby-source-graphql-universal@3.3.0
  4. Type : gatsby develop

Hope this will help you !

marguerrrite commented 4 years ago

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

manimul commented 4 years ago

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 > nodemodules > gatsby-source-graphql-universal
  2. Delete the "node_modules" folder from gatsby-source-graphql-universal folder.
  3. Type in your terminal : npm i gatsby-source-graphql-universal@3.3.0
  4. Type : gatsby develop

Hope this will help you !

Nice one! This fixed it

accordingtoherr commented 4 years ago

thank you!! worked for me:) appreciate it