Open wuhaohuang opened 10 months ago
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.
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:
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'], }, })
pls help!
I don't know if it has anything to do with this. There is no more effective information other than this.