error "gatsby-plugin-manifest" threw an error while running the onPostBootstrap lifecycle
See original GitHub issueDescription
Describe the issue that you’re seeing.
Steps to reproduce
Clear steps describing how to reproduce the issue. Please link to a reproduction, this makes your issue much easier to diagnose (seriously).
How to Make a Minimal Reproduction: https://www.gatsbyjs.com/contributing/how-to-make-a-reproducible-test-case/
Expected result
gatsby build succesfully compilation
Actual result
error “gatsby-plugin-manifest” threw an error while running the onPostBootstrap lifecycle:
20:49:08.045 | Input file contains unsupported image format
20:49:08.053 |
20:49:08.053 | Error: Input file contains unsupported image format
20:49:08.053 |
20:49:08.054 | not finished onPostBootstrap - 0.013s
20:49:09.612 | npm ERR! code ELIFECYCLE
20:49:09.612 | npm ERR! errno 1
20:49:09.617 | npm ERR! gatsby-starter-default@0.1.0 build: gatsby build
20:49:09.617 | npm ERR! Exit status 1
20:49:09.617 | npm ERR!
20:49:09.617 | npm ERR! Failed at the gatsby-starter-default@0.1.0 build script.
20:49:09.617 | npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
20:49:09.631 | npm ERR! A complete log of this run can be found in:
20:49:09.631 | npm ERR! /vercel/.npm/_logs/2020-12-23T17_49_09_617Z-debug.log
20:49:09.636 | Error: Command “npm run build” exited with 1
20:49:11.990 | Done with “package.json”
Environment
Vercel or Netlify
When I run via localhost everything is working good
Run gatsby info --clipboard
in your project directory and paste the output here.
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (3 by maintainers)
Top GitHub Comments
Make these step by step:
npm install
.It solved my problem.
Never mind, this was sovled because of my gatsby-config setup:
{ resolve: 'gatsby-plugin-manifest', options: { icon: 'src/images/icon.png', }, },
This path does not exist