Gatsby transform sharp throws intermittent errors #38833
Labels
status: triage needed
Issue or pull request that need to be triaged and assigned to a reviewer
type: bug
An issue or pull request relating to a bug in Gatsby
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: