Thank you for taking the time to file an issue!
This tracker is for issues related to:
I followed the instructions on https://dart.dev/tutorials/web/get-started, https://dart.dev/web/debugging. And when I opened the configured chrome devtools, refresh the page. Then the console log the following warnings.
DevTools failed to load SourceMap: Could not load content for http://127.0.0.1:8080/packages/build_web_compilers/src/dev_compiler_stack_trace/stack_trace_mapper.dart.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load SourceMap: Could not load content for http://127.0.0.1:8080/packages/build_web_compilers/src/dev_compiler/dart_sdk.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
I can set breakpoint in dart code in source panel. The debugger stopped at the breakpoint, However the types of variable can't shown.

This is the console of webdev serve.
D:\code\dart\quickstart-web>webdev serve
[INFO] Reading cached asset graph completed, took 162ms
[INFO] Checking for updates since last build completed, took 580ms
[INFO] Serving `web` on http://127.0.0.1:8080
[INFO] Running build completed, took 205ms
[INFO] Caching finalized dependency graph completed, took 118ms
[INFO] Succeeded after 328ms with 0 outputs (0 actions)
[INFO] -------------------------------------------------------------------------------------
This is the chrome devtools setttings.

+1, this is painful to the point of ridiculous.
i have same warning:
DevTools failed to load SourceMap: Could not load content for http://localhost:12205/dwds/src/injected/client.dart.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
i am having this issue now out of nowhere
Same issue here, it would be nice to fix it soon. Thanks!
Same issue, just started using dart and cannot debug properly.
I am also having the same issue on my website too. I am using a plugin name LSCache which i believe is responsible for this. I am having this issue on this site https://bestandcheapbondcleaning.com.au/
If you also see the issue at your end then that mean the issue is not solved. But i will try to fix it from the cache plugin and if it will be possible to update this ticket, i will update it too.
DevTools failed to load SourceMap: Could not load content for http://127.0.0.1:8080/packages/build_web_compilers/src/dev_compiler/dart_sdk.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
Getting same issue with dart version 2.5.2
Agora fudeu! todo dia vai aparecer um dizendo sobre esta falha. espero q resolvam logo!
Hi guys can someone help by telling why all of the sudden everyone is facing this error? and how to fix. As i found on all the websites i have created this error is showing. You can see i have tons of issues on my own domain https://www.khalsa-website-designers.net/ if someone knows about this latest issue and how to fix please share it with us too.
Same issue here, Swagger stuck loading.
DevTools failed to load SourceMap: Could not load content for http://localhost:5555/swagger-ui-standalone-preset.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
Same issue
running webdev in release mode resolved this for me. webdev serve -r
Try removing # if it occurs after a // within a comment.
Replacing //# with // fixed for me elsewhere.
DevTools failed to load SourceMap: Could not load content for http://localhost:4200/bootstrap.min.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE getting issue how to fix
DevTools failed to load SourceMap: Could not load content for https://unpkg.com/peerjs.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
Same issue, Even in the script src="https://unpkg.com/[email protected]/dist/peerjs.min.js" but it's loading file from https://unpkg.com/peerjs.min.js.map and getting 404.
This worked for me
Go to inspect -> settings gear -> Uncheck 'enable javascript source maps' and 'enable css source map'.
Refresh.
This worked for me
Go to inspect -> settings gear -> Uncheck 'enable javascript source maps' and 'enable css source map'.
Refresh.
could you share a screenshot (s)
Nice website! I inspected it for errors and don't see any. Did you resolve this problem? I'm getting it in my main.dart file. When I uncheck "enable javascript source maps", refresh -- the error goes away. But on your website, even though that remains checked, I don't see an error. Mine is visible at http://focusonmoney.in. Again, the error I'm getting is with main.dart.
i enabled both again i got same error
This worked for me
Go to inspect -> settings gear -> Uncheck 'enable javascript source maps' and 'enable css source map'.
Refresh.
thanks. work for me 馃憤
Most helpful comment
This worked for me
Go to inspect -> settings gear -> Uncheck 'enable javascript source maps' and 'enable css source map'.
Refresh.