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

前端 未结 4 700
遥遥无期
遥遥无期 2020-12-24 00:19

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 f

4条回答
  •  被撕碎了的回忆
    2020-12-24 00:48

    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

提交回复
热议问题