Module not found: Can’t resolve ‘gatsby’
-
hello,
newbie here,
I am using the Next.js wordpres template, it has me install your plugins, im tryign to use it to generate my nav.. this is my error
./components/nav.js:2:0
Module not found: Can’t resolve ‘gatsby’
1 | import React from “react”
> 2 | import { graphql } from “gatsby”
3 |
4 | const MainNav = ({ data }) =>{JSON.stringify(data, null, 4)}
5 |
I installed Gatsby, I did a version chek
MacBook-Pro:cms-wordpress-app justin$ gatsby -v
Gatsby CLI version: 2.16.0
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Module not found: Can’t resolve ‘gatsby’’ is closed to new replies.