Skip to content

NextJS package does not upload source-maps on WINDOWS #4829

@yoont4

Description

@yoont4

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which package are you using?

@sentry/nextjs

SDK Version

6.19.3

Framework Version

6.19.3

Link to Sentry event

No response

Steps to Reproduce

  1. Setup project following NextJS docs: https://docs.sentry.io/platforms/javascript/guides/nextjs/
  2. Run next build
  3. Run next start

Expected Result

Source-maps uploaded

Actual Result

No source-maps uploaded.

I'm not sure what I'm supposed to see either to confirm they get uploaded or not.

I've manually configured a release version in the sentry.client/server.config.js files to see if that was the issue, and that didn't change anything. All it did was make an empty release bucket with no artifacts.

I've tried setting the SENTRY_RELEASE environment variable using cross-env and a .env file (in separate attempts) and they both did nothing.

I've tried manually setting the release field in the sentryWebpackPluginOptions as well to see if the sentry-webpack-plugin needed it, and that did nothing.

I've watched the netlify and vercel videos on sentry's youtube channel, and they both just refer to some netlify or vercel plugin to handle it. But the docs clearly state that @sentry/nextjs will automatically handle the sourcemap uploads! I am completely at a loss. I see 0 output, no errors, no warnings, nothing.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions