Pages are not generated when building Gatsby V2
See original GitHub issueDescription
Sometimes when running gatsby build
it seems as not all of our pages are generated but the build command does not report any errors. We have about ~20k pages, and there are approx 2/3 random pages that are missing sometimes
Steps to reproduce
Run gatsby build
with new input data every hour for about a day, then suddenly some pages are not generated without any error code.
Expected result
All pages should be generated or gatsby should throw an error
Actual result
Some pages are missing in the final build
Environment
mhart/alpine-node:12.9
Sidenote, it seems as we have some memory issues as we occasionally run into the following error:
error Building static HTML failed for path \"/XXXX/yyyy/
However, running the build locally with the same input does not cause the same error at those times. It seems as that is the start of the problem, any builds after that but with the same .cache
or public
folder may risk of missing pages when building
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (2 by maintainers)
Top GitHub Comments
Yep, agree it’s hard to debug for both for us and even harder for you. I will try to get a minimal reproduction.
Not sure if it only happens on our build-server as I haven’t been rerunning the build-process over and over
Hey again!
It’s been 60 days since anything happened on this issue, so our friendly neighborhood robot (that’s me!) is going to close it. Please keep in mind that I’m only a robot, so if I’ve closed this issue in error, I’m
HUMAN_EMOTION_SORRY
. Please feel free to comment on this issue or create a new one if you need anything else. As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out gatsby.dev/contribute for more information about opening PRs, triaging issues, and contributing!Thanks again for being part of the Gatsby community! 💪💜