Gatsby default starter throws "unsupported image format" error.
See original GitHub issueDescription
Immediately after running
gatsby new test-project
cd test-project
gatsby develop
There are build errors:
This also occurs with the blog starter.
Incredibly frustrating when trying to migrate a site to gatsby and not being able to get past step 1.
Steps to reproduce
gatsby new test-project
cd test-project
gatsby develop
Expected result
No errors and image/icon should load.
Actual result
Saw errors and manifest did not build correctly. I also could not run a build command successfully.
Environment
System: OS: macOS 10.15.2 CPU: (4) x64 Intel® Core™ i5-4288U CPU @ 2.60GHz Shell: 5.7.1 - /usr/local/bin/zsh Binaries: Node: 12.14.1 - ~/.nvm/versions/node/v12.14.1/bin/node Yarn: 1.21.1 - ~/.nvm/versions/node/v12.14.1/bin/yarn npm: 6.13.6 - ~/.nvm/versions/node/v12.14.1/bin/npm Languages: Python: 2.7.17 - /usr/local/bin/python Browsers: Chrome: 79.0.3945.130 Safari: 13.0.4 npmPackages: gatsby: ^2.18.12 => 2.18.12 gatsby-image: ^2.2.34 => 2.2.34 gatsby-plugin-manifest: ^2.2.31 => 2.2.31 gatsby-plugin-offline: ^3.0.27 => 3.0.27 gatsby-plugin-react-helmet: ^3.1.16 => 3.1.16 gatsby-plugin-sharp: ^2.3.5 => 2.3.5 gatsby-source-filesystem: ^2.1.40 => 2.1.40 gatsby-transformer-sharp: ^2.3.7 => 2.3.7
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (2 by maintainers)
Top GitHub Comments
resolved the issue.
This will affect anyone who has vips installed via brew or some other form as brew will automatically update global vips to the unsupport 8.9 version.
This doesn’t only affect mac users. I’m on linux (manjaro) with libvips installed and it’s also crashing there. Your ENV var helped though.