Skip to content
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

Warning: smartcrop: no property named `premultiplied' while Running gatsby-plugin-sharp.IMAGE_PROCESSING jobs #38257

Closed
2 tasks done
a-bochilo opened this issue Jun 22, 2023 · 1 comment
Labels
type: bug An issue or pull request relating to a bug in Gatsby type: upstream Issues outside of Gatsby's control, caused by dependencies

Comments

@a-bochilo
Copy link

Preliminary Checks

Description

While compile app via gatsby develop command every time (when cache was cleared) next warning appears:

[ ] 0.005 s 0/2 0% Running gatsby-plugin-sharp.IMAGE_PROCESSING jobs

** (process:7844): WARNING **: 10:47:10.924: smartcrop: no property named `premultiplied'

Process number different every time.
And sometime error occurs and build become aborted. Next run have a chance to be successful but error could appear several times in a row.

image

image

Reproduction Link

https://github.com/a-bochilo/gatsby-bug

Steps to Reproduce

  1. clone repository
  2. install all the packages with 'npm i' command
  3. run dev server with 'gatsby develop' command
  4. watch the process in the terminal
    ...

Expected Result

App compiled without any errors and warnings

Actual Result

WARNING **: 10:47:10.924: smartcrop: no property named `premultiplied' appears

"Unspecified fatal error encountered, aborting." error appears.

Environment

System:
    OS: Windows 10 10.0.22621
    CPU: (8) x64 Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz
  Binaries:
    Node: 18.16.0 - C:\Program Files\nodejs\node.EXE
    npm: 9.5.1 - C:\Program Files\nodejs\npm.CMD
  Languages:
    Python: 3.11.3
  Browsers:
    Edge: Spartan (44.22621.1848.0), Chromium (114.0.1823.51)
  npmPackages:
    gatsby: ^5.11.0 => 5.11.0 
    gatsby-plugin-image: ^3.11.0 => 3.11.0 
    gatsby-plugin-sharp: ^5.11.0 => 5.11.0 
    gatsby-source-filesystem: ^5.11.0 => 5.11.0 
    gatsby-source-filesystem-markdown-name: ^1.0.1 => 1.0.1 
    gatsby-transformer-remark: ^6.11.0 => 6.11.0 
    gatsby-transformer-sharp: ^5.11.0 => 5.11.0 
  npmGlobalPackages:
    gatsby-cli: 5.10.0

Config Flags

No response

@a-bochilo a-bochilo added the type: bug An issue or pull request relating to a bug in Gatsby label Jun 22, 2023
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Jun 22, 2023
@LekoArts LekoArts added type: upstream Issues outside of Gatsby's control, caused by dependencies and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Jun 26, 2023
@LekoArts
Copy link
Contributor

Hi!

Please open an issue at https://github.com/libvips/libvips/ since Gatsby uses sharp which in turn uses this. The error is most probably coming from there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug An issue or pull request relating to a bug in Gatsby type: upstream Issues outside of Gatsby's control, caused by dependencies
Projects
None yet
Development

No branches or pull requests

2 participants