Skip to content
This repository was archived by the owner on Mar 13, 2023. It is now read-only.
This repository was archived by the owner on Mar 13, 2023. It is now read-only.

UNHANDLED REJECTION VipsJpeg: Premature end of JPEG file #17

@smoke-indica

Description

@smoke-indica

I'm getting the following error which halts the gatsby develop command:

success createPages - 1.524s            
                                                                                                                                                                           [                            ]   215.425 s 20/3145 1% run queries                                                                                                                                                  

[=====================       ]   215.060 s 133/178 75% Downloading remote files                                                                                                                                    

[==========                  ]   6.619 s 11/29 38% Generating image thumbnails                                                                                                                                                                                                                                                                                                                                                         

ERROR                                                                                                                                                                                                                                                                                                                                                                                                                                

UNHANDLED REJECTION VipsJpeg: Premature end of JPEG file                                                                                                                                                           

VipsJpeg: out of order read at line 144                                                                                                                                                                            

VipsJpeg: Premature end of JPEG file                                                                                                                                                                               

VipsJpeg: out of order read at line 144

Rather than fail on error, would it be possible to replace with a placeholder image?

Thanks

edit: Found some possibly related issues:

lovell/sharp#1859

gatsbyjs/gatsby#13442

edit: added try/catch to several await functions in this repo & found the following issue was underlying:

gatsbyjs/gatsby#6291

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