UnhandledPromiseRejectionWarning: Error: Unsupported MIME type: image/x-icon
See original GitHub issueI use this package both in dev and prod environment. I have similar set up but I get this error in the production. it is fine in dev.
here is the webpack set up
const FaviconsWebpackPlugin = require("favicons-webpack-plugin");
const pathToFavicon = path.join(__dirname, "../../favicon.ico");
plugins:[
new FaviconsWebpackPlugin(pathToFavicon),
]

I m getting this error only in prod.
this is the webpack.dev vs webpack.prod

Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Error: Unsupported MIME type: image/x-icon - Bountysource
I use this package both in dev and prod environment. I have similar set up but I get this error in the production....
Read more >Unsupported MIME type: image/x-icon · Issue #79 - GitHub
I noted that icons are not supported: Unsupported MIME type: image/x-icon ERR TypeError: Cannot read property 'bitmap' of undefined at ...
Read more >Service Worker registration error: Unsupported MIME type ...
The problem I encountered when I tried to publish on my server is that the service-worker.js file was available, but I was getting...
Read more >use jimp to read webp image problem : r/node - Reddit
only problem is jimp returns this error: UnhandledPromiseRejectionWarning: Error: Unsupported MIME type: image/webp.
Read more >聚合页_字母U分类_第490页 - 掘金
... ubuntu安装docker · unhandledpromiserejectionwarning error unsupported mime type image/x-icon · usb support partial initial · unity开发框架事件中心化区别 ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

i got same error, use a
.pngdoesn’t workPlease use a
.pngfile