question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Re-open DevTools failed to load SourceMap

See original GitHub issue

I’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

  1. Starting Storybook

Expected behavior No warning.

Screenshots If applicable, add screenshots to help explain your problem. image

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:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:13 (2 by maintainers)

github_iconTop GitHub Comments

61reactions
yannbfcommented, Apr 19, 2020

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:

image

4reactions
D1nocommented, Mar 12, 2022

This is constantly in my console in storybook while developing image

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found