marguerrrite / gatsby-prismic-starter-prist

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

"Cannot find module" on starting dev server #22

Closed trybick closed 4 years ago

trybick commented 4 years ago

Getting the following error in a new project: Error in "/Users/tim/code/me/portfolio-v2/node_modules/gatsby-source-prismic-graphql/gatsby-node.js": Cannot find module './third-party/gatsby-node'

I followed these steps:

What I tried:

Anyone else getting this?

Screenshot: Screen Shot 2020-06-27 at 5 52 55 PM

trybick commented 4 years ago

Found the issue is related to the gatsby-source-graphql-universal project https://github.com/birkir/gatsby-source-graphql-universal/issues/19

Adding this resolution to package.json and using yarn is working to start the server

  "resolutions": {
    "gatsby-source-graphql-universal": "3.3.0"
  }