google-chromedebugginggoogle-chrome-devtoolsdeveloper-toolsadobe-brackets

Chrome Developer Tools shows favicon 404 error in Brackets LivePreview


I've just started doing Anthony Alicea's "Javascript: Understanding the Weird Parts" course, and he's using the live preview feature of Brackets to demo his code. The first module is a barebones HTML page with a script tag linking to an empty JS file. When I open this page in Brackets and run the live preview, Dev Tools complains the favicon file is missing.

Favicon error in Chrome Developer Tools

I know it's a minor error, but it's annoying: I'd like a clean console when I'm working through the code examples for the course. I'm not sure if it's Brackets or Dev Tools that's doing this. Is there any way I can silence the error that doesn't involve adding a dummy favicon to every section's code folder?


Solution

  • To solve this error just add this reference in :

    <link rel="icon" href="data:;base64,iVBORwOKGO=" />