ESRI : Failed to parse source map

后端 未结 10 1440
[愿得一人]
[愿得一人] 2020-11-28 21:41

I am getting this error in the Google chrome developer console.

Failed to parse SourceMap: http://localhost:15132/Scripts/_External/igniteui/css/the

相关标签:
10条回答
  • 2020-11-28 22:22

    Chrome recently added support for source maps in the developer tools. If you go under settings on the chrome developer toolbar you can see the following two options:

    If you disable those two options, and refresh the browser, it should no longer ask for source maps.

    These settings can be found here:

    0 讨论(0)
  • 2020-11-28 22:23

    Check if you're using some Chrome extension (Night mode or something else). Disable that and see if the 'inject' gone.

    0 讨论(0)
  • 2020-11-28 22:25

    When I had this issue the cause was a relative reference to template files when using the ui.bootstrap.modal module.

    templateUrl: 'js/templates/modal.html'

    This works from a root domain (www.example.com) but when a path is added (www.example.com/path/) the reference breaks. The answer in my case was simply to making the reference absolute (js/ -> /js/).

    templateUrl: '/js/templates/modal.html'

    0 讨论(0)
  • 2020-11-28 22:27

    Source code of CSS/JS we usually minified/compress. Now if we want to debug those minified files then we have to add following line at the end of minified file

    /*# sourceMappingURL=bootstrap.min.css.map */
    

    This tells compiler where is source file actually mapped.

    In the case of JS its make sense
    but in the case of CSS, its actually debugging of SCSS.

    To Remove Warning: remove /*# sourceMappingURL=bootstrap.min.css.map */ from the end of minified file, .

    0 讨论(0)
提交回复
热议问题