getsentry / sentry-javascript-bundler-plugins

JavaScript Bundler Plugins for Sentry
https://sentry.io
BSD 3-Clause "New" or "Revised" License
143 stars 37 forks source link

No Source Map With Matching Debug ID #633

Closed vollmond08 closed 11 hours ago

vollmond08 commented 12 hours ago

Hey, need your help, please - trying to figure out what I'm doing wrong but failed again and again. I'm trying to setup source maps in the project on vue-cli + ts and faced with the problem that can't see unminified code for some reason. Image

Checking Release tab - looks like I can do it only with legacy uploading artifacts, right? So I shouldn't aim to this and should use debug id approach, correct? Image

I'm checking artifacts - looks fine Image

I'm checking uploaded js file and source map - debug id is inside them. What am I doing wrong? Сan you direct me?

Using webpack plugin like that:

sentryWebpackPlugin({
    org: 'org name',
    project: 'project name',
    authToken: process.env.SENTRY_AUTH_TOKEN,
    release: process.env.VUE_APP_SENTRY_RELEASE,
    sourcemaps: {
        assets: './dist/**/*',
    },
    debug: true,
})
lforst commented 11 hours ago

Hi, this is unfortunately a known regression. Can you try bumping your @sentry/cli subdependency to the latest version? Thanks!

vollmond08 commented 11 hours ago

Hi, this is unfortunately a known regression. Can you try bumping your @sentry/cli subdependency to the latest version? Thanks!

works! @sentry/cli@2.39.1 resolves the issue, thanks, you saved a lot of time for me!