Error shows "Failed to get text for stylesheet (#): No style sheet with given id found", what does this mean?

CssGoogle Chrome

Css Problem Overview


I'm getting this error in Chrome when it loads this application I am working on:

>Failed to get text for stylesheet 50: No style sheet with given id found

Subsequent page loads repeat the error, but with a different number:

>Failed to get text for stylesheet 152: No style sheet with given id found

This only happens in Chrome, and only with this application. There is no stack trace, reference, or any other information about what id is given, what the stylesheet in question is, or what is causing this generally. How can I find what is causing this error and fix it?

Css Solutions


Solution 1 - Css

I had the same problem. It looks like a bug in Chrome's live-edit CSS/JS. Notice how the number changes on each request.

I fixed it by closing all the files that I had edited in the dev tools 'source' tab and then refreshed the page.

The error went away after I closed all the files in the 'source' tab.

I tried to reproduce it after closing the files, but I can't seem to recreate it, yet.


Here is a picture showing where to find the 'source' tab:

enter image description here

Solution 2 - Css

Still present in Chrome 46.0.2490.80 m (64-bit). Closing sources tabs 'fixed' it.

Solution 3 - Css

Fixt it by holding [Ctrl] + [Shift] and refresh the page

Solution 4 - Css

Just experienced this today if you have a .css file open in the dev tools. If you close the .css file and reload, the issue does not happen.

Chrome 48.0.2564.109 (64-bit)

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionCalvin FisherView Question on Stackoverflow
Solution 1 - CssTayskyView Answer on Stackoverflow
Solution 2 - CssajaykarwalView Answer on Stackoverflow
Solution 3 - CssAlbuquerque Web DesignView Answer on Stackoverflow
Solution 4 - CsslewmaView Answer on Stackoverflow