ESRI : Failed to parse source map

后端 未结 10 1503
[愿得一人]
[愿得一人] 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: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'

提交回复
热议问题