React: Bug: DevTools failed to parse SourceMap of extensions

Created on 1 Feb 2020  路  8Comments  路  Source: facebook/react

I am getting a lot of these errors/warnings in my console. Why is DevTools trying to get source maps for extensions?
Using the latest React Dev Tools extension (2.17.0) and React (16.9.12)
image

The current behavior

Getting lots of unrelated warnings

The expected behavior

No warnings related to extension source maps should be created.

Unconfirmed

Most helpful comment

@yutsuo: In the Console tab > Console settings (little cog on the right side) > tick Selected context only.

All 8 comments

I don't know why you're seeing that 馃檪but it doesn't have anything to do with React or the React DevTools (since our extension's id is fmkadmapgofadopljbjfkapdkoienihi).

From your screenshot, it looks like the extensions you're getting errors for are Ad Block (gighmmpiobklfepjocnamgkkbiglidom) and Meta Mask (nkbihfbeogaeaoehlefnkodbefgpgknn).

It is about extensions, for me it started yesterday after a Google Chrome update. You can uninstall the extensions or just disable soruce maps:
https://stackoverflow.com/questions/36051891/esri-failed-to-parse-source-map

It solved the problem for me. No more warnings about that.

Disable source maps fully? It would cause the dev project's source map to not work either which is not good

@sashasochka I sometimes get this error if I serve the app over https.

I'm started to getting this as warning. The problem is I can successfully run app using npm start but when I build using npm run build --nomaps and serve using serve -s build -l tcp://0.0.0.0:3000 the app is looking for map files and some styles are broken.
image

Isn't there a way to tell DevTools that it can ignore the extension its warning about?

@yutsuo: In the Console tab > Console settings (little cog on the right side) > tick Selected context only.

@yutsuo: In the Console tab > Console settings (little cog on the right side) > tick Selected context only
it worked,
is it ok if i just hide it?

Was this page helpful?
0 / 5 - 0 ratings