sentry-javascript-bundler-plugins icon indicating copy to clipboard operation
sentry-javascript-bundler-plugins copied to clipboard

The sourcemap has been uploaded, but the error still cannot be displayed normally.

Open wuhaohuang opened this issue 2 years ago • 1 comments

Environment

What version are you running? Etc. "@sentry/vue": "^7.74.0", "@sentry/vite-plugin": "^2.8.0",

The sourcemap has been uploaded and can be seen in the background, as shown in the figure: image

init: Sentry.init({ app, dsn: 'xxxxxxxxxxxxxxxxxxx', integrations: [ new Sentry.BrowserTracing({ routingInstrumentation: Sentry.vueRouterInstrumentation(router), }), new Sentry.Replay(), ], tracesSampleRate: 1.0, tracePropagationTargets: [window.location.origin], replaysSessionSampleRate: 0.1, replaysOnErrorSampleRate: 1.0, environment: import.meta.env.VITE_BUILD_ENV, release: '1.0.4', dist: 'ts-1.0.0', });

upload: sentryVitePlugin({ org: 'xxx', project: 'xxxxxx', authToken: 'xxxxxxx', url: 'xxxxxxx', release: { name: '1.0.4', uploadLegacySourcemaps: { paths: ['dist'], ignore: ['./node_modules'], }, dist: 'ts-1.0.0', }, sourcemaps: { assets: 'dist/static/js/**', ignore: ['node_modules'], }, })

image

pls help!

I don't know if it has anything to do with this. There is no more effective information other than this. image

wuhaohuang avatar Oct 18 '23 11:10 wuhaohuang

Hi, please refer to this guide to troubleshoot your source maps: https://docs.sentry.io/platforms/javascript/sourcemaps/troubleshooting_js/legacy-uploading-methods/

I also recommend upgrading the version of your self-hosted instance.

lforst avatar Oct 18 '23 11:10 lforst

Closing this issue for clean-up. Please open a new issue if it still applies. Thanks!

AbhiPrasad avatar Nov 01 '24 17:11 AbhiPrasad