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 transform sharp throws intermittent errors #38833
Comments
Hey @seungpark ,
|
@olehpratsko instead of creating my own gatsby nodes, i am using gatsby filesystem to create image gatsby nodes of files where i save the assets |
@seungpark good workaround, I'll take it to the note. Thank you for sharing. |
Preliminary Checks
Description
Gatsby transformer sharp throws intermittent errors during the build schema process:
Accompanying gatsby-config plugins:
In gatsby-node.js:
This error is not consistent, and it seems to be complaining about a
ADD_CHILD_TO_NODE
action.type case, at this line.However, when debugging the build locally, the build always succeeds and I am able to see the ImageSharp nodes (as children of File nodes) in the graphql explorer.
Reproduction Link
https://github.com/seungpark/gatsby-reproduction
Steps to Reproduce
gatsby build
and look for error while in stepsource and transform nodes
...
Expected Result
I would expect this to be an error or success 100% of the time. Intermittent errors have been a pain for debugging.
Ideally, this would be a successful Image Sharp node creation for each Image type file.
Actual Result
This error is thrown sometimes on the same build, but not 100%
Environment
Config Flags
No response
The text was updated successfully, but these errors were encountered: