question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

404 Error With Favicon

See original GitHub issue

I’ve got an issue with this plugin and searched for other similar issues.

I installed the package via NPM and added the necessary file to my folder (src > assets > favicon.png) but it wont show up.

When I deploy via netlify the console gives me a 404 error for the file. When I look for the favicon in localhost, it doesnt show up (no 404 error in console).

Has anyone else had this issue?

gatsby.config file:

module.exports = {
  plugins: [
    `gatsby-plugin-sass`,
    `gatsby-plugin-react-helmet`,
    {
      resolve: `gatsby-plugin-favicon`,
      options: {
        logo: "./src/assets/favicon.png",
        injectHTML: true,
        icons: {
          android: true,
          appleIcon: true,
          appleStartup: true,
          coast: false,
          favicons: true,
          firefox: true,
          twitter: false,
          yandex: false,
          windows: false
        }
      }
    },
  ],
};

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:4
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
cusspvzcommented, Jun 28, 2018

Same here!

0reactions
julien1619commented, Jul 24, 2018

Great! Thank you for the quick test 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why am I seeing a 404 (Not Found) error failed to load favicon ...
It is essentially a bug in Chrome's developer tools. The request for favicon.ico has not been initiated by the page itself, and its...
Read more >
How to prevent favicon.ico requests? 404 Favicon Errors
If there is no favicon.ico file at the root level of a website, when a webpage is bookmarked a 404 (file not found)...
Read more >
How to Fix “404 Favicon Not Found” Error - TutsAndTips.com
For example, if you forget to upload an image that is linked to from one of your pages, loading that page will (and...
Read more >
How to fix 404 not found error failed to load favicon.ico
Here is a step by step on how to fix this issue. I believe that it is best practice to use an ICO...
Read more >
favicon.ico is throwing a 404 · Issue #711 - GitHub
No 404 error, because a favicon.ico file would be there, be it a default empty file, or the automatically .ico nized version of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found