Possible reason why the “Couldn't find temp query result for X” error occurs #38338
Unanswered
P1ayer4312
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We recently updated Gatsby to v5 and noticed that the build fails randomly with the temp query error, but if the build is restarted it finishes normally.
We did a bit of digging into the node_modules and looked at the
readPageQueryResult
function insidepage-data.js
. From our testing we noticed that the error is thrown every timestringifiedResult
is undefined, we also checked how that variable is getting its value and everything about it looks normal.Currently we suspect that the issue is related to the
lmdb
dependency. Looking into their Github issues other users have a similar issue, getting an undefined value.From what I can tell Gatsby currently uses
"lmdb": “2.5.3”
and there’s a newer version released, so maybe updating the package might resolve the issue.Beta Was this translation helpful? Give feedback.
All reactions