-
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
Gatsby develop leaves .cache/json empty from version 2.24.12 #26287
Comments
Hi @lorisdev ! Sorry to hear you're running into an issue. To help us best begin debugging the underlying cause, it is incredibly helpful if you're able to create a minimal reproduction. This is a simplified example of the issue that makes it clear and obvious what the issue is and how we can begin to debug it. If you're up for it, we'd very much appreciate if you could provide a minimal reproduction and we'll be able to take another look. Thanks for using Gatsby! 💜 |
Hello @lorisdev - did you manage to go futher until early august ?
Using Thanks in advance for any infos on this issue. P.S: My specs
|
@pascaloliv does this still occur in the latest gatsby version? |
@wardpeet I can confirm that this occurs on the latest gatsby (2.24.53). My colleagues on Mac experience the same issue. |
Can I get a reproduction? I can't seem to reproduce it locally on my mac. |
I'm experiencing the same issue. Perhaps you can try reproducing the issue by cloning my repo? (see #26859 for more details) |
@jeffreymeng Thanks! I could reproduce it, will have a fix tomorrow! |
Thanks for your effort guys ! I was too busy to come back with a reproduction recently. I'm glad your were able to have one. |
So the issue is that While we have calculated which queries to run after staticQueries we get back into extractingQuery state and calculateDirtyQueries will not give us the correct information anymore so it looks like we have 0 pageQueries to run Gatsby develop log
|
Successfully published:
|
Description
I cannot use the
gatsby develop
command because it leaves an empty.cache/json
folder thus the dev server cannot serve the site.Unforunately the codebase is private but I was able identify on which gatsby version the issue occured.
Gatsby 2.24.8 and 2.24.10 => OK develop works normally
Gatsby 2.24.9 and 2.24.11 => develop works but output non blocking errors at the end of the script :
From Gatsby 2.24.12 to current version 2.24.34 (I didn't test every version in between) =>.cache/json stays empty during develop script. This is the last output before crash :
Steps to reproduce
Run
gatsby develop
Expected result
The develop script run smoothly and and development server is launched at the end of the process
Actual result
The develop script runs without apparent errors but then the dev server crashes because .cache/json is empty
Environment
Dependencies
Gatsby-Config
The text was updated successfully, but these errors were encountered: