Skip to content

"gatsby-source-s3-image" threw an error while running the sourceNodes lifecycle #419

@djavco

Description

@djavco

I am getting this error on Gatsby cloud data builds triggered by Strapi. With a 'Clear Cache and build..' it usually succeeds:

"gatsby-source-s3-image" threw an error while running the sourceNodes lifecycle:
Cannot read property 'type' of undefined

This is the Raw Log containing the error:

16:03:41 PM: success Fetched Strapi Data - 1.358s
16:03:43 PM: ERROR "gatsby-source-s3-image" threw an error while running the sourceNodes lifecycle:
16:03:43 PM: Cannot read property 'type' of undefined
16:03:43 PM:  TypeError: Cannot read property 'type' of undefined
16:03:43 PM:    [www]/[gatsby]/src/redux/actions/public.js:891:41
16:03:43 PM:  - public.js:891 actions.touchNode
16:03:43 PM:    [www]/[redux]/lib/redux.js:483:35
16:03:43 PM:  - redux.js:483 boundActionCreator
16:03:43 PM:  - source-nodes.js:1 
16:03:43 PM:    [www]/[gatsby]/src/utils/api-runner-node.js:63:20
16:03:43 PM:  - api-runner-node.js:63 doubleBoundActionCreators.
16:03:43 PM:    [www]/[gatsby-source-s3-image]/source-nodes.js:1:1837
16:03:43 PM:  - Array.forEach
16:03:43 PM:  - source-nodes.js:1 
16:03:43 PM:    [www]/[gatsby-source-s3-image]/source-nodes.js:1:1776
16:03:43 PM:  - task_queues.js:95 processTicksAndRejections
16:03:43 PM:    internal/process/task_queues.js:95:5
16:03:43 PM:not finished source and transform nodes - 3.371s
16:03:47 PM:ERROR Failed to compile: Error: Exited with code 1

I am using Gatsby 4.1.2 and gatsby-source-s3-image 1.6.221

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions