Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rburgst/bug-repro-28474
gatsby-plugin-sharp bug reproduction repo for https://github.com/gatsbyjs/gatsby/issues/28474
https://github.com/rburgst/bug-repro-28474
Last synced: 2 days ago
JSON representation
gatsby-plugin-sharp bug reproduction repo for https://github.com/gatsbyjs/gatsby/issues/28474
- Host: GitHub
- URL: https://github.com/rburgst/bug-repro-28474
- Owner: rburgst
- License: 0bsd
- Created: 2020-12-05T09:20:40.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-05T09:25:45.000Z (about 4 years ago)
- Last Synced: 2024-11-08T17:53:10.271Z (about 2 months ago)
- Language: JavaScript
- Size: 282 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gatsby bug repro
This repo shows the problem https://github.com/gatsbyjs/gatsby/issues/28474 where
having broken images will not produce meaningful output.To repro do the following
```bash
yarn install
yarn clean
yarn develop
```### Expected
You should get a meaningful error message that the images are broken
### Actual
```
error [object Object] Input file contains unsupported image format
Error: Input file contains unsupported image format
error [object Object] Input file contains unsupported image format
Error: Input file contains unsupported image format
error There was an error in your GraphQL query:
Cannot return null for non-nullable field ImageSharpFluid.aspectRatio.
```Note that the error message do not include the file/path of the broken images.