Closed psychemedia closed 4 years ago
That's strange 🤔 Does it work when you run it locally? And when does that error happen? When you build the site, or when it's opened in the browser?
(Also, this course seems to deploy to GH pages, so maybe you can find a clue there? https://github.com/noamross/gams-in-r-course)
I see what I did.... I'd overwritten module.exports
in gatsby-config.js
rather than added to it. Also, I was messing up on the branches too... seems to work now (here).
I made a start on trying to build a Github Action to try to build and push a course to Github Pages, but gatsby is completely new to me so I'm not sure where I'm going wrong, getting a
GraphQLError: Cannot query field "allMarkdownRemark" on type "Query".
error when I try to run it