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
vips: Input file contains unsupported image format #2062
Comments
copy from gatsbyjs/gatsby#21032 (comment) DescriptionERROR
Failed to process image
/Users/muescha/Work/gatsby/github/gatsby/docs/docs/images/gatsby-default-404.png
Input file contains unsupported image format Steps to reproduce
Expected resultno error Actual resulti got the error Tried steps
vips --version
vips-8.9.0-Mon Jan 6 14:10:21 UTC 2020 upgraded to: vips --version
vips-8.9.1-Tue Jan 28 13:05:46 UTC 2020 Environment System:
OS: macOS Mojave 10.14.5
CPU: (8) x64 Intel(R) Core(TM) i7-3820QM CPU @ 2.70GHz
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 12.13.1 - ~/.nvm/versions/node/v12.13.1/bin/node
Yarn: 1.21.1 - /usr/local/bin/yarn
npm: 6.13.6 - ~/.nvm/versions/node/v12.13.1/bin/npm
Languages:
Python: 2.7.10 - /usr/bin/python
Browsers:
Chrome: 79.0.3945.130
Safari: 12.1.1
npmPackages:
gatsby: ^2.18.8 => 2.18.18
gatsby-design-tokens: ~1.0.10 => 1.0.10
gatsby-image: ^2.2.34 => 2.2.37
gatsby-plugin-canonical-urls: ^2.1.16 => 2.1.18
gatsby-plugin-catch-links: ^2.1.19 => 2.1.21
gatsby-plugin-emotion: ^4.1.16 => 4.1.18
gatsby-plugin-feed: ^2.3.23 => 2.3.25
gatsby-plugin-google-analytics: ^2.1.29 => 2.1.31
gatsby-plugin-google-tagmanager: ^2.1.18 => 2.1.20
gatsby-plugin-guess-js: ^1.1.26 => 1.1.28
gatsby-plugin-layout: ^1.1.16 => 1.1.18
gatsby-plugin-mailchimp: ^2.2.3 => 2.2.3
gatsby-plugin-manifest: ^2.2.31 => 2.2.34
gatsby-plugin-mdx: ^1.0.59 => 1.0.64
gatsby-plugin-netlify: ^2.1.28 => 2.1.30
gatsby-plugin-netlify-cache: ^0.1.0 => 0.1.0
gatsby-plugin-nprogress: ^2.1.15 => 2.1.17
gatsby-plugin-offline: ^3.0.27 => 3.0.30
gatsby-plugin-react-helmet: ^3.1.16 => 3.1.18
gatsby-plugin-sharp: ^2.3.5 => 2.3.10
gatsby-plugin-sitemap: ^2.2.22 => 2.2.24
gatsby-plugin-theme-ui: ^0.2.43 => 0.2.43
gatsby-plugin-twitter: ^2.1.15 => 2.1.17
gatsby-plugin-typography: ^2.3.18 => 2.3.20
gatsby-remark-autolink-headers: ^2.1.19 => 2.1.22
gatsby-remark-code-titles: ^1.1.0 => 1.1.0
gatsby-remark-copy-linked-files: ^2.1.31 => 2.1.33
gatsby-remark-embedder: ^1.11.0 => 1.11.0
gatsby-remark-graphviz: ^1.1.18 => 1.1.20
gatsby-remark-images: ^3.1.35 => 3.1.39
gatsby-remark-normalize-paths: ^1.0.0 => 1.0.0
gatsby-remark-prismjs: ^3.3.25 => 3.3.29
gatsby-remark-responsive-iframe: ^2.2.28 => 2.2.30
gatsby-remark-smartypants: ^2.1.17 => 2.1.19
gatsby-source-airtable: ^2.0.12 => 2.0.12
gatsby-source-filesystem: ^2.1.40 => 2.1.43
gatsby-source-git: ^1.0.2 => 1.0.2
gatsby-source-npm-package-search: ^2.1.19 => 2.1.21
gatsby-transformer-csv: ^2.1.19 => 2.1.21
gatsby-transformer-documentationjs: ^4.1.20 => 4.1.22
gatsby-transformer-remark: ^2.6.39 => 2.6.45
gatsby-transformer-screenshot: ^2.1.44 => 2.1.46
gatsby-transformer-sharp: ^2.3.7 => 2.3.9
gatsby-transformer-yaml: ^2.2.18 => 2.2.20
npmGlobalPackages:
gatsby-cli: 2.8.13
vips --version
vips-8.9.1-Tue Jan 28 13:05:46 UTC 2020 Notei see the error here: Line 337 in 1a98c39
|
copy from gatsbyjs/gatsby#21032 (comment) downgrading to 8.8.4 works (https://github.com/Homebrew/homebrew-core/blob/32e25d4e45d145b6a26791d084d823226070409c/Formula/vips.rb):
|
yarn why sharp
yarn why v1.21.1
[1/4] 🤔 Why do we have the module "sharp"...?
[2/4] 🚚 Initialising dependency graph...
[3/4] 🔍 Finding dependency...
[4/4] 🚡 Calculating file sizes...
=> Found "sharp@0.23.4"
info Reasons this module exists
- "gatsby-plugin-manifest" depends on it
- Hoisted from "gatsby-plugin-manifest#sharp"
- Hoisted from "gatsby-plugin-sharp#sharp"
- Hoisted from "gatsby-transformer-sharp#sharp"
info Disk size without dependencies: "6.54MB"
info Disk size with unique dependencies: "7.59MB"
info Disk size with transitive dependencies: "10.36MB"
info Number of shared dependencies: 47 |
There was a small breaking change in vips v8.9.0 that means you'll need sharp v0.24.0 to process PNG files. |
thx for the info |
i can close this - thx |
i get on vips 8.9.0 and 8.9.1 this error message:
Input file contains unsupported image format
downgrading to vips 8.8.4 fixed my problem.
see also with detailed error message: gatsbyjs/gatsby#21032
The text was updated successfully, but these errors were encountered: