Skip to content

Conversation

@kamilogorek
Copy link
Contributor

@kamilogorek kamilogorek commented Jun 18, 2021

Fixes #3702

Context:
getsentry/sentry-webpack-plugin#187
getsentry/sentry-cli#949

TL;DR - Using silent: true in the @sentry/nextjs webpack plugin config triggered the same option in sentry-cli's, and that made builds hang because the CLI was outputting to a stream which filled up waiting for its data to be consumed, which it never was. Lots more detail in the linked sentry-webpack-plugin issue above.

Once the bug was fixed in sentry-cli, the webpack plugin needed to be updated to use the fix, and then the nextjs SDK had to be updated to use the new webpack plugin version.

@kamilogorek kamilogorek merged commit 9cd2b7e into master Jun 18, 2021
@kamilogorek kamilogorek deleted the update-webpack-plugin-nextjs branch June 18, 2021 11:24
@github-actions
Copy link
Contributor

size-limit report

Path Size
@sentry/browser - CDN Bundle (gzipped) 21.01 KB (0%)
@sentry/browser - Webpack 21.89 KB (0%)
@sentry/react - Webpack 21.92 KB (0%)
@sentry/browser + @sentry/tracing - CDN Bundle (gzipped) 28.4 KB (0%)

@lobsterkatie lobsterkatie added dependencies Package: nextjs Issues related to the Sentry Nextjs SDK and removed Type: Bug Package: nextjs Issues related to the Sentry Nextjs SDK labels Jul 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Nextjs 11 Vercel Build Timeout

4 participants