When you minify a file, like the angular.js file, it takes thousands of lines of pretty code and turns it into only a few lines of ugly code. map files are for JavaScript and CSS (and now TypeScript too) files that have been minified. To better understand what a source map is, I suggest you check out this answer, where it explains how it's something that helps you debug: I've found two valid solutions to this warning (not just disabling it). Right: it has nothing to do with your code. If you need it, then contact the maker to have them fix the issue.Otherwise, that extension can be turned back on.Īfter determining which extensions caused the issue either:.If any did, then that extension was causing those messages.Check if any of the "SourceMap" error messages disappeared.Reload the page that you were using the Development Tools on.Turn off the extension by sliding the switch to the left.Do this for one extension at a time until no more "SourceMap" errors are in the console:.Go to "More Tools" and click on "Extensions".Go to the three dots in the upper right hand corner of Chrome.Instead you want to find the extensions that are causing the messages and turn them off. It is like turning off the fire alarm instead of putting out the fire. Unchecking those takes away your ability to debug your source code. If you are developing, then you need "Enable JavaScript source maps" and "Enable CSS source maps" checked to be able see your source code in Chrome Developer Tools. HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEMEįixing "SourceMap" error messages in the Development Tools Console caused by Chrome extensions:ĭevTools failed to load SourceMap: Could not load content for chrome-extension://klekeajafkkpokaofllcadenjdckhinm/sourceMap/content.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEMEĭevTools failed to load SourceMap: Could not load content for chrome-extension://fheoggkfdfchfphceeifdbepaooicaho/sourceMap/chrome/content.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEMEĭevTools failed to load SourceMap: Could not load content for chrome-extension://fheoggkfdfchfphceeifdbepaooicaho/sourceMap/chrome/iframe_handler.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME OFReader.readAsDataURL(document.getElementById("uploadImage").files) ĭocument.getElementById("uploadPreview").src = Ĭonsole.log(document.getElementById("uploadPreview").src) ĭevTools failed to load SourceMap: Could not load content forĬhrome-extension://alplpnakfeabeiebipdmaenpmbgknjce/.map: console.log(document.getElementById("uploadPreview")) To get the image location, I tried using console.log, but nothing returns. I'm trying to display an image selected from the local machine and I need the location of that image for a JavaScript function.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |