hey there
I've been stuck on this issue for a while now. Everything is perfect on development. But on production links and images aren't working correctly. it reloads the page when clicking on any link. I see this error in the console:
I tried to upgrade to beta and canary. none of them has helped. I noticed that when I switched from 3.3.1 to beta and canary I started to see the error above instead of Uncaught TypeError: Cannot set property 'query' of undefined
Steps to reproduce:
gatsby new gatsby-starter-blog https://github.com/gatsbyjs/gatsby-starter-blog
cd gatsby-starter-blog
yarn add gatsby-source-prismic-graphql
add this code below to the plugins array in gatsby-config.js
hey there I've been stuck on this issue for a while now. Everything is perfect on development. But on production links and images aren't working correctly. it reloads the page when clicking on any link. I see this error in the console:
I tried to upgrade to beta and canary. none of them has helped. I noticed that when I switched from
3.3.1
to beta and canary I started to see the error above instead ofUncaught TypeError: Cannot set property 'query' of undefined
Steps to reproduce:
gatsby new gatsby-starter-blog https://github.com/gatsbyjs/gatsby-starter-blog
cd gatsby-starter-blog
yarn add gatsby-source-prismic-graphql
gatsby-config.js
src
folder