-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sourcemaps.deleteSourcemapsAfterUpload
breaks Vercel deployment
#13099
Comments
Assigning to @getsentry/support for routing ⏲️ |
It seems that when And based on the error message above, it seems that Vercel does need |
Hey @ocavue thanks for writing in and thanks for providing a reproduction! I'll take a look and report back. |
I can reproduce the issue on Vercel (but not locally, so just like you described). Talked a bit about this with @lforst - it's probably fine for us to only delete client-side source maps and not every source map. We'll fix this soon. |
Environment
SaaS (https://sentry.io/)
Steps to Reproduce
I'm using Vercel to deploy my Next.js project. When I enable
sourcemaps: { deleteSourcemapsAfterUpload: true }
innext.config.js
, I get the following error from Vercel:More detailed output:
I've created a minimal repo to reproduce this issue: https://github.com/ocavue/nextjs-sentry-vercel-deploy-issue
You can see from the GitHub webpage that the Vercel deployment failed after I enable
deleteSourcemapsAfterUpload
.Expected Result
No error.
Actual Result
Vercel deployment fails, as shown above.
Product Area
Unknown
Link
No response
DSN
No response
Version
8.20.0
The text was updated successfully, but these errors were encountered: