Error: Cannot find module 'gatsby/graphql'
See original GitHub issueHi Meng
I am on Chapter 10 on React for Designers course. After I installed gatsby-source-contentful
plugin, and restarted my server the following error shows
Error: Cannot find module 'gatsby/graphql'
My settings https://github.com/tridip1931/100DaysOfCode/blob/chapter10/react-for-designers/package.json
Issue Analytics
- State:
- Created 4 years ago
- Comments:6
Top Results From Across the Web
Cannot find module 'gatsby/graphql` · Issue #8478 - GitHub
I am following the Transform Plugins part 6 of the tutorials on the Gatsby website. After I install npm install --save ...
Read more >Error: Cannot find module 'gatsby-plugin-image/graphql-utils'
When I ran into this issue I found that adding the new package gatsby-plugin-image fixed it. The README for gatsby-source-contentful has a ...
Read more >[ gatsby ] Error: Cannot find module 'gatsby/graphql' - dsin
Problem Solution install v1 instead of v2 ref : https://github.com/gatsbyjs/gatsby/issues/6560.
Read more >Error with module gatsby-source-prismic-graphql
Hi all, The installation of the module gatsby-source-prismic-graphql return an error : Error: Cannot find module './third-party/gatsby-node'.
Read more >gatsby-source-graphql - npm
In your gatsby-config.js module.exports = { plugins: [ // Simple config, passing URL { resolve: "gatsby-source-graphql", ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I found out that
gatsby-starter-default
provided in the course is created in Gatsby V1. That causes issues if certain plugins are installed.I haven’t found an easy way to migrate the project made in Gatsby V1 to V2.
That’s why I recommend just starting from
gatsby-starter-default
made already in Gatsby V2 (e.g. this) and follow the course. When you installgatsby-source-contentful
plugin everything will be working.+1