# Live Server inject error

**URL:** <https://forum.codewithmosh.com/t/live-server-inject-error/777>\
**Category:** JavaScript\
**Created:** [November 19, 2020, 8:11pm UTC](https://forum.codewithmosh.com/t/live-server-inject-error/777 "2020-11-19T20:11:15Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mooksi](https://avatars.discourse-cdn.com/v4/letter/m/7feea3/32.png) [@Mooksi](https://forum.codewithmosh.com/u/Mooksi)\
**Post date:** [November 19, 2020, 8:11pm UTC](https://forum.codewithmosh.com/t/live-server-inject-error/777/1 "2020-11-19T20:11:15Z")

</div>

Hi all,

Just starting out on Javascript and I’ve installed the Live Server 5.6.1 extension (Ritwick Dey) as instructed in setting up your development space video.

The extension seems to work in that it opens the tab in Chrome and is can see my JS executing. However, it always has the following errors in the console and I can’t figure out why:  
_inject.js:372 GET [http://127.0.0.1:5500/favicon.ico](http://127.0.0.1:5500/favicon.ico) 404 (Not Found)_  
_extractIconBase64 @ inject.js:372_  
_(anonymous) @ inject.js:333_  
_(anonymous) @ inject.js:789_

Has anybody else encountered this and is there an easy way to resolve it?

Thanks,  
Simon

---

<div class="post-metadata">

**Author:** ![William](https://avatars.discourse-cdn.com/v4/letter/w/b19c9b/32.png) [@William](https://forum.codewithmosh.com/u/William)\
**Post date:** [November 20, 2020, 7:30pm UTC](https://forum.codewithmosh.com/t/live-server-inject-error/777/2 "2020-11-20T19:30:40Z")

</div>

The favicon.ico is the small image in the tab of the browser.

I assume this file is not present in your project folder so that’s the reason for the error.

Maybe cleaning the cache of the browser (CTRL F5) helps?

---

<div class="post-metadata">

**Author:** ![Mooksi](https://avatars.discourse-cdn.com/v4/letter/m/7feea3/32.png) [@Mooksi](https://forum.codewithmosh.com/u/Mooksi)\
**Post date:** [November 21, 2020, 2:00pm UTC](https://forum.codewithmosh.com/t/live-server-inject-error/777/3 "2020-11-21T14:00:59Z")

</div>

Hi Wiliam, thanks for the reply!

I’ve given that a try now but sadly it’s still present… maybe it will be easier to just add such a file to my project folder? I’ve not got as far as favicon.iso’s. Would it be as simple as adding a file with a .ico, would I need to src it in the code?

Thanks again. I’m still a complete newbie at programming and this error doesn’t seem to be a deal-breaker as the console is still showing the rest of the expected executed code. I do dislike seeing errors though!

---

<div class="post-metadata">

**Author:** ![William](https://avatars.discourse-cdn.com/v4/letter/w/b19c9b/32.png) [@William](https://forum.codewithmosh.com/u/William)\
**Post date:** [November 23, 2020, 3:27pm UTC](https://forum.codewithmosh.com/t/live-server-inject-error/777/4 "2020-11-23T15:27:52Z")

</div>

> <https://stackoverflow.com/questions/64968119/using-generics-in-closure-callers/64971275#64971275>

Do these solutions help?  
So adding:

```auto
<link rel="shortcut icon" href="">

```

or

```auto
<link rel="shortcut icon" href="#" />

```

Looks like it has nothing to do with Live Server.

---

<div class="post-metadata">

**Author:** ![A100D-JS](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/a100d-js/32/8_2.png) [@A100D-JS](https://forum.codewithmosh.com/u/A100D-JS)\
**Post date:** [November 23, 2020, 5:41pm UTC](https://forum.codewithmosh.com/t/live-server-inject-error/777/5 "2020-11-23T17:41:14Z")

</div>

Hi,  
It’s simply says that the **‘GET’** method for this path **“[http://127.0.0.1:5500/favicon.ico](http://127.0.0.1:5500/favicon.ico)”** haven’t been found if you have something in your project relating this you should fix it.

See if this helps :

 ![Screenshot 2020-11-23 211601](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/1X/b17e7cbe8f3ac33f9cf49be04bfca20c31081f7c.png)

---

<div class="post-metadata">

**Author:** ![Mooksi](https://avatars.discourse-cdn.com/v4/letter/m/7feea3/32.png) [@Mooksi](https://forum.codewithmosh.com/u/Mooksi)\
**Post date:** [November 26, 2020, 12:28pm UTC](https://forum.codewithmosh.com/t/live-server-inject-error/777/6 "2020-11-26T12:28:10Z")

</div>

That did it, thanks very much guys! 🙂
