Closed alexroper closed 4 years ago
It is chrome or some extension bug. In my case I had to disable the lastPass extension to remove the error. Others say that addBlock make the problem. You may find some more information here: https://superuser.com/questions/1523427/google-chrome-devtools-failed-to-parse-sourcemap-chrome-extension/1524565#1524565
Well, wether Chrome lets you load a soucemap or not, those files don't seem to be packaged with the extension. They probably shouldn't be since users don't need them.
One possible solution is to create a separate Gulp task. One that's separate from the development workflow and doesn't create sourcemaps. Call it "dist" for example.
yea, you probably right but in my case the disabled extension resolved the problem. I found so far two extensions which cause this problem: Adblock and LastPass but then can be some other too. Unfortunately to disable extensions is not the best solution especially while you use them.
The problem is @Sielik that the errors you got probably were from those extensions. If I disable all my extensions except Pinboard Plus I still get this error. Because this specific extension is causing this issue. My other extensions don't have this issue.
The Chrome console is reporting these warnings:
If I load this script
chrome-extension://mphdppdgoagghpmmhodmfajjlloijnbd/scripts/description.js
, I can see a reference to the sourceMap:But the URL chrome-extension://mphdppdgoagghpmmhodmfajjlloijnbd/scripts/description.js.map returns an error that the file is not found.