Could not read source map for localhost source with Unexpected 503 response from source map at local 127.0.0.1 IP address
See original GitHub issueDescribe the bug When using Ionic 5, Angular 13 and and JS Debug extension, I’m getting many errors like the following when attempting to debug the app:
Could not read source map for http://localhost:8100/styles.js: Unexpected 503 response from http://127.0.0.1:8100/styles.js.map: connect ECONNREFUSED 127.0.0.1:8100
What’s interesting is that loading up the source map address with localhost http://localhost:8100/styles.js.map
instead of the IP address version http://127.0.0.1:8100/styles.js.map
retrieves the file and doesn’t have a 503 response.
VS Code Version: 1.69.2 on MacOS Monterey on Silicon M1
Issue Analytics
- State:
- Created a year ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Suddenly gets Could not read source map in VSCode using ...
The debugger would work on node 16 but not on node 18. What made it work is adding the flag '--host=127.0.0.1' to the...
Read more >Could not read source map for … ENOENT: no such file or ...
ENOENT: no such file or directory. The error occurred in Bebug Console. Could not read source map for file:///Users//functions/node_modules/@ ...
Read more >Source Maps - Rollbar Docs
To successfully upload source maps, we will walk through the following steps. Raise descriptive JavaScript errors; Configure _rollbarConfig to support source ...
Read more >Troubleshoot Cloud Run issues
This page shows you how to resolve issues with Cloud Run. For other issues not listed below, check to see if they may...
Read more >DevTools failed to load source map: Could not load content for ...
“DevTools failed to load source map: Could not load content for chrome-extension://efbobpikdmjaaklfkdlgfopochnjadab/content/content.js.map: System error: ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
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
localhost is not always the same as
127.0.0.1
when on ipv6-enabled networksIt took me weeks to end up on this solution. I think it is very important to get this fixed for a clean installed Mac Os with the latest Angular Cli. ng new and vs code debug should be working out of the box