Replies: 2 comments
-
Beta Was this translation helpful? Give feedback.
0 replies
-
When I start the symbolicator service and trigger an error on the web, the sentry backend does not see the error |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Sentry support team and community,
I'm experiencing an issue where Sentry is not displaying the original line numbers in my error stack traces, even though I believe I have correctly configured sourcemap uploading for my Vue.js project built with Vite.
My setup includes:
Frontend Framework: Vue.js 3
Build Tool: Vite
Sentry SDK: @sentry/vue and @sentry/vite-plugin
Sourcemap Upload: Using sentryVitePlugin in vite.config.js
release version: 1.0.2 (and later 1.0.5), which matches the release tag in Sentry.
urlPrefix tried: I have tried the following urlPrefix configurations in my sentryConfig:
/assets/
~/assets/
/
''
The problem:
When errors occur in production, the stack traces in Sentry only show the minified code and column/character numbers (e.g., at ? /assets/CourseReadIndex-OdIasDK_.js:4:56582), instead of the original TypeScript/Vue file names and line numbers.
Example .js.map sources entry:
What I have tried so far (as discussed in our conversation):
Verified that sourcemaps are being generated during the build process.
Confirmed that sourcemaps are being uploaded to Sentry for the correct release.
Checked that the release version in Sentry.init matches the uploaded sourcemaps.
Tried various urlPrefix configurations to match the production URL structure with the paths in the sourcemaps.
Checked the content of the .js.map files to understand the source paths.
Despite these efforts, the original source code and line numbers are still not displayed in Sentry error reports.
Could you please provide guidance on what might be causing this issue and how to resolve it? Any help would be greatly appreciated.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions