Sourcemaps not found
See original GitHub issueHi there,
we use airbrake for minified javascript which references the corresponding sourcemaps via
//# sourceMappingURL=main.js.map
(as emitted by webpack). However, the sourcemaps are not found on airbrake.io. In the context of an error, this is shown:
"sourceMapErrors": {
"https://webknossos.brain.mpg.de/assets/bundle/main.js%3Fnocache=ddcfd829f626b5e2191c979e8aa7087c14fbdea4": "http.Get url=\"https://webknossos.brain.mpg.de/assets/bundle/main.js%3Fnocache=ddcfd829f626b5e2191c979e8aa7087c14fbdea4\": got 404 Not Found, expected 200 OK",
"https://webknossos.brain.mpg.de/assets/bundle/vendors~main.js%3Fnocache=ddcfd829f626b5e2191c979e8aa7087c14fbdea4": "http.Get url=\"https://webknossos.brain.mpg.de/assets/bundle/vendors~main.js%3Fnocache=ddcfd829f626b5e2191c979e8aa7087c14fbdea4\": got 404 Not Found, expected 200 OK"
},
The source map for https://webknossos.brain.mpg.de/assets/bundle/main.js
is at https://webknossos.brain.mpg.de/assets/bundle/main.js.map
(as the last line of main.js
also indicates). However, the source map url is not even tried according to the error message? Maybe the cache busting (main.js?nocache=commithash
) breaks something?
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Source Maps not working with Webpack - Stack Overflow
In bundle.js you will see original transpiled webpack bundle - this is normal behaviour. Open webpack:// and you will see your project files ......
Read more >Troubleshooting Source Maps for JavaScript
Verify your source maps work locally. If you find that Sentry is not mapping filename, line, or column mappings correctly, you should verify...
Read more >TS6053 - node_modules/source-map/source-map not found in ...
It is a Intelisense error, and not a build error. All my javascript is processed outside of Visual Studio with Webpack and everything...
Read more >[BUG] Source maps not found in dev server for third party ...
I was running into this problem with web-test-runner coverage mode looking up these broken sourcemaps and causing logspam. The way the dev ...
Read more >Source Map Troubleshooting - Rollbar Docs
Sometimes source maps can be generated with no content in them, or in an invalid format, e.g. base64. Check the source maps that...
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
Well, at some point
?
gets escaped and that is the problem. Can you send me airbrake.io UI link to the error to vlad@airbrake.io?I’m using Chrome 65, but you are right: the airbrake-js version was outdated. I updated it to the newest one. Now, the
notices
endpoint is used. However, the sourcemaps error (including%3F
) is still there:However, the request payload uses the proper formatting using
?
.