I made an emerce webpage. The code seems fine; but when I deployed it in my localhost and in GitHub it shows this error:
DevTools failed to load source map: Could not load content for .51faf61f.chunk.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
I am new at this, and I read I need to fix it in DevTools. Do I need to install something to get rid of the HTTP error? Thank you!
I made an emerce webpage. The code seems fine; but when I deployed it in my localhost and in GitHub it shows this error:
DevTools failed to load source map: Could not load content for https://andrealb88.github.io/rewards-store-andrea-lopez-bravo/static/js/main.51faf61f.chunk.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
I am new at this, and I read I need to fix it in DevTools. Do I need to install something to get rid of the HTTP error? Thank you!
Share Improve this question edited Feb 24, 2023 at 21:13 MeSo2 4661 gold badge7 silver badges19 bronze badges asked Dec 11, 2021 at 13:32 Andrea Lopez BravoAndrea Lopez Bravo 1572 gold badges3 silver badges12 bronze badges 2- Does this answer your question? How to suppress Chrome DevTools warning: 'DevTools failed to load SourceMap: Could not load content for...' – Randy Casburn Commented Dec 11, 2021 at 13:35
- I tried to do that( enable js and css source maps) and nothing, the same 404 error. I can't see properly the page, neither the image of error – Andrea Lopez Bravo Commented Dec 11, 2021 at 14:11
2 Answers
Reset to default 2This warning is probably nothing to worry about. If you don't want to see it, you can disable it: Error message "DevTools failed to load SourceMap: Could not load content for chrome-extension://..."
I run into this as well. [Here][1] I found the following:
...use the full link https://cdn.jsdelivr/npm/[email protected]/dist/hls.min.js the source map loads correctly.
This must be a bug in the npm package. [1]: https://github./jsdelivr/jsdelivr/issues/18084