Closed argmichael closed 1 year ago
They were uploaded, and you are right, however, stacktrace is pointing to completely different files :)
All your frames are pointing towards /static/js/bundle.js
, while the only available files, which you even shown on screenshot are:
~/static/js/483.cf3846ff.chunk.js
~/static/js/main.440dcf7b.js
They were uploaded, and you are right, however, stacktrace is pointing to completely different files :)
All your frames are pointing towards
/static/js/bundle.js
, while the only available files, which you even shown on screenshot are:~/static/js/483.cf3846ff.chunk.js ~/static/js/main.440dcf7b.js
Hello! Thanks for replying @kamilogorek!
I tried changing them now as follows but still the same problem still persists.
Any ideas? Thanks!
It looks like debug id is missing for sourcemap now, so it's definitely a duplicate of https://github.com/getsentry/sentry-cli/issues/1681 Will close this one to not have multiple opened issues for the same thing. The fix is coming.
Sounds good! Would love to know when the fix is out. Thank you.
It looks like debug id is missing for sourcemap now, so it's definitely a duplicate of #1681 Will close this one to not have multiple opened issues for the same thing. The fix is coming.
Hey @kamilogorek #1681 has been closed and verified that it is no longer an issue.
I upgraded my cli to 2.20.3 and still faced issues with my sourcemaps being unrecognized. Can you please reopen the issue?
sentry-cli releases new 1.0.0 --org verascope --project production
sentry-cli sourcemaps inject frontend/build/static/js
sentry-cli releases finalize 1.0.0 --org verascope --project production
sentry-cli sourcemaps upload frontend/build/static/js --org verascope --project production --url-prefix="/static/js" --release="1.0.0"
Environment
What version of the CLI and what OS are you running? CLI Version: 2.19.4 OS: wsl2 ubuntu 22.04
Steps to Reproduce
What you did?
Expected/Actual Result
What you thought would happen and what actually happened? The error was caught by sentry but the code was not minified successfully. As you can see the sourcemap has been uploaded.
Logs
Running
sentry-cli sourcemaps inject build/static/js
Running
sentry-cli releases files "$VERSION" --org verascope --project fe upload-sourcemaps build/static/js --url-prefix="~/static/js"