-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[v2] GraphQL race condition #7300
Comments
Thanks for the nice issue writeup! This is a high priority for us to fix after v2 is out (which should be next week). |
Fix for #7314 was published with |
Shoot! I was hopeful that would solve it for me but I can confirm I still have the same error happen with Is it possible somewhere else is clearing the query text? First compile works 100% of the time, then breaks on almost every markdown file edit similar to that other issue. |
There are other potential issues here - if possible could you invite me to repo as well? I probably have more time than @KyleAMathews to spend on this |
@pieh added. See issue 1 for some additional notes/context. Thank you! |
Fix for this - #7388 |
Description
Gatsby compiler is working fine but then browser throws an error because the GraphQL query data is null. I'm using
gatsby-mdx
and originally thought it was an issue there.This error happens 90% of the time when I edit a markdown/mdx file. A simple page refresh doesn't fix it. The only way to fix the page again is to change the
gatsby-config.js
and restartgatsby develop
. This is making switching to Gatsby very painful.Steps to reproduce
gatsby-mdx
.mdx
post that contains a React componentEnvironment
System:
OS: macOS High Sierra 10.13.4
CPU: x64 Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz
Shell: 2.5.0 - /usr/local/bin/fish
Binaries:
Node: 10.8.0 - /usr/local/bin/node
Yarn: 1.9.4 - /usr/local/bin/yarn
npm: 6.2.0 - /usr/local/bin/npm
Browsers:
Chrome: 68.0.3440.106
Firefox: 61.0.1
Safari: 11.1
npmPackages:
gatsby: next => 2.0.0-beta.99
gatsby-mdx: 0.0.8 => 0.0.8
gatsby-plugin-react-helmet: next => 3.0.0-beta.4
gatsby-plugin-styled-components: next => 3.0.0-beta.3
gatsby-source-filesystem: next => 2.0.1-beta.10
gatsby-transformer-remark: next => 2.1.1-beta.6
npmGlobalPackages:
gatsby-cli: 2.0.0-beta.13
File contents
gatsby-config.js
:package.json
:gatsby-node.js
:gatsby-browser.js
: N/Agatsby-ssr.js
: N/AThe text was updated successfully, but these errors were encountered: