I’m trying to figure out why sourcemaps aren’t being applied and in the process I noticed 2 oddities when assessing the issue json file.
- In the json issue file, the ‘stacktrace’ key references my local filesystem for some reason:
"abs_path": "https://website.com/Users/username/Documents/Projects/app-user/node_modules/zone.js/dist/zone.js",
"filename": "/Users/username/Documents/Projects/app-user/node_modules/zone.js/dist/zone.js",
"module": "Users/username/Documents/Projects/app-user/node_modules/zone.js/dist/zone",
The urls are correct in the raw stacktrace (abs_path: "https://app.com/main.87608751b1726fd41017.bundle.js"
).
- In the stacktrace, the sourcemaps path lists my site even though the maps are uploaded to sentry and not hosted:
data: {sourcemap: "https://app.com/polyfills.c881b0089dab66ac560d.bundle.js.map"}
I’m uploading the sourcemaps using the cli and not passing a url-prefix flag, but the output of the upload command seems to identify the files and their respective sourcemaps just fine. Is any of this normal, and could any of it be causing my sourcemaps not to be applied?