-
Notifications
You must be signed in to change notification settings - Fork 13
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
UNHANDLED REJECTION Worker exited before finishing task #96
Comments
It looks like this issue is getting thrown around where custom fragments are being added. Are you adding any custom fragments? If so, what do those look like? |
Thanks @brianjhanson. After removing all All images is shown in Gatsby 3 |
Do you get any kind of error when the images aren't shown? It sounds almost like it's not able to generate them, or it's running into some kind of issue processing multiple images and bailing out. Have you tried setting |
It's set to
|
It almost feels like a process is out of memory or something. Are your images remote or local? It also looks like there are a handful of issues with a similar error message in the Gatsby repo. Have you looked through those to try to narrow it down? |
Yup, GATSBY_CPU_COUNT=1 and 2 works better, they only skips 4 images, so it must be related to memory and maybe sourcing. Placed some ID's to test where it breaks. Seems like it's in
GraphQL:
Also tried uploading it (without the IDs) to Gatsby Cloud it generates, this error:
|
@mmorkt, sorry for the delay here. Could you let me know if you were able to get any closer to a solution? It sounds like this is environmental and not something the source plugin can resolve. The only other thing I can think of is that your instance of Craft is getting overwhelmed during the build and isn’t generating the transforms in time for Gatsby. Admittedly, I don't have the full flow in my head enough to know how possible or likely that is. |
Thank you for replying @brianjhanson.
Made a local environment with Craft CMS and used it as the API. But I'm getting the same behaviour some images is missing. |
Can you tell me a little more about your setup? How are your asset volumes set up? Are the images local? Or on s3 or something? I'm also curious, what size are the images on average? I'd like to try to set up an environment and attempt to replicate this. |
Not sure if its easy to replicate. Invited you to our repository and I will make a staging environment so you can have a look at our backend if you like. |
Description
Getting this error after upgrading to Gatsby 4.24.8
Steps to reproduce
The text was updated successfully, but these errors were encountered: