1

I have followed the answer given me here, then i have written the following script(Typescript):

function removeNiqqud(str: string) {
    return str.replace(/[\u0591-\u05C7]/g, '');
}

After that, Chrome is complaining through console:

Failed to parse SourceMap: http://localhost/<my_project>/www/scripts/appBundle.js.map

[When i remove the function and compile again the error is gone, and when i am bringing the function back the error is back also...]

How can i change the regex so chrome will not shout at me?

Update:

After Chrome updated itself to newest version this night, it's giving me the error even if i remove the function. so it's seems like a bug. In Microsoft Edge for example everything is fine and i am able to debug the *.ts files.

For moderators - consider close the question.

The problem is as described before update.

Community
  • 1
  • 1
Dorad
  • 3,413
  • 2
  • 44
  • 71
  • 1
    May help: [Failed to parse SourceMap](http://paulsalaets.com/posts/failed-to-parse-sourcemap). – Sam Jun 20 '16 at 17:21
  • Thanks. I have followed your test. it's not gzipped and it's a valid json. – Dorad Jun 20 '16 at 17:57
  • Possible duplicate of [How to debug why MS Edge/IE11 does not load sourcemap](http://stackoverflow.com/questions/34687049/how-to-debug-why-ms-edge-ie11-does-not-load-sourcemap) – Paul Sweatte Aug 16 '16 at 20:46

0 Answers0