Re-open DevTools failed to load SourceMap
See original GitHub issueI’d imagine its low priority, functionally doesn’t do anything. Just annoying having to see the message in console.log. Could not be related to Storybook
Reopen https://github.com/storybookjs/storybook/issues/9732
Describe the bug Warning in console:
DevTools failed to load SourceMap: Could not load content for http://localhost:6006/unfetch.mjs.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
.To Reproduce
- Starting Storybook
Expected behavior No warning.
Screenshots If applicable, add screenshots to help explain your problem.
Code snippets this my
webpack.config.js
const webpack = require('webpack'); const _ = require('lodash'); const WebpackNotifierPlugin = require('webpack-notifier'); const WebpackShellPlugin = require('webpack-shell-plugin'); const FilterWarningsPlugin = require('webpack-filter-warnings-plugin'); module.exports = ({ config }) => { config.resolve.extensions.push('.ts', '.tsx', '.js', '.jsx', '.json'); config.module.rules.push( { test: /\.tsx?$/, exclude: /node_modules/, use: [ { loader: 'babel-loader', options: { cacheDirectory: true } }, { loader: 'ts-loader', options: { transpileOnly: true } } ] },
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:13 (2 by maintainers)
Top Results From Across the Web
How can I fix the "DevTools failed to load SourceMap: Could ...
Go to Inspect → Settings (Symbol) gear → Uncheck Enable JavaScript source maps and Enable CSS source map. Refresh. (Note: Deactivate Adblock if...
Read more >DevTools failed to load source map - Microsoft Q&A
Per my research you could try to uncheck "Enable JavaScript source maps" in developer tools settings. Press F12 > Settings > Uncheck "Enable ......
Read more >DevTools failed to load source map - WordPress.org
Hi Raul,. I use your latest version and I have this errors in my console for source maps: DevTools failed to load source...
Read more >In Chrome warning with "DevTools failed to load SourceMap
I don't see any issue here. Map files are source map binary files needed only during development, so they excluded from the theme...
Read more >How to fix Console error DevTools failed to load SourceMap
So, if you have tried anything and did not fix the DevTools load error, it is worthy to delete any comment you find...
Read more >Top Related Medium Post
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey @webberwang, thanks for opening this issue! From what I understand this seems to be a bug on chromium which affects libraries that point to source maps. This would affect some chrome extensions too.
This issue has been happening since february (which is when #9732 was opened), and they are planning to fix it most likely in their next release, version 82.
Now I know the issue is annoying, but doesn’t seem to be related to storybook. If you want to supress it for now, you can tick
Selected context only
in your dev tools:This is constantly in my console in storybook while developing