Open
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/browser
SDK Version
^8.26.0
Framework Version
@sentry/nuxt: 9.17.0 Nuxt: 3.16.2
Link to Sentry event
No response
Reproduction Example/SDK Setup
export default defineNuxtConfig({
modules: ['@sentry/nuxt/module'],
ssr: false,
sourcemap: {client: 'hidden'}
sentry: {
sourceMapsUploadOptions: {
authToken: "my-auth-token",
org: "my-org",
project: "my-project-name",
}
}
})
Steps to Reproduce
- Push a commit that includes source map support using @sentry/nuxt on a branch connected to AWS Amplify.
- Let Amplify auto-trigger its build pipeline.
- The frontend build phase starts (e.g. pnpm build).
- During nuxt build, the memory usage spikes and the process fails with a fatal JavaScript heap out of memory error.
- Even though the build log shows "Build completed successfully", the deployment fails due to a missing deploy-manifest.json.
Expected Result
- Nuxt build should complete without exceeding memory limits.
- Source maps should be uploaded successfully.
- deploy-manifest.json should be created in the expected output directory.
- The deployment should succeed.
Actual Result
-
Nuxt build fails with:
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
-
Followed by:
CustomerError: Failed to find the deploy-manifest.json file in the build output.
-
This only happens when sourcemaps.enable = true in the Sentry module config.
Metadata
Metadata
Assignees
Type
Projects
Status
No status