Sentry tries to upload sourcemaps before build completes - [sentry-webpack-plugin] Warning: Didn't find any matching sources for debug ID upload
#712
Labels
Version
@nuxtjs/sentry: 8.0.8
nuxt: 2.17.3
Sentry configuration
Reproduction Link
Basic reproduction repo
Steps to reproduce
Run
npm run generate
in the reproduction projectWhat is Expected?
Sourcemaps are uploaded to Sentry
What is actually happening?
Sentry appears to be trying to upload sourcemaps before the nuxt generate command completes. We use Github Actions to build the app. Here's the GA output:
As you can see, the webpack plugin does not does not find the sources, which I believe is because the generate command hasn't finished building yet. I added a few echo statements in the command on the first line to be sure (removed here). Have I configured something incorrectly? This is part of an upgrade from the 1.x version of the plugin, and sourcemap upload seemed to work before.
Additionally, the command works locally on my machine. The build generates all files and sourcemaps, and uploads correctly to Sentry once the build completes. I'm unsure why the same command would work locally, but fail in Github Actions. Any help would be appreciated, thank you.
I thought perhaps this was a webpack problem and asked in the webpack plugin project, but was redirected over here.
The text was updated successfully, but these errors were encountered: