diff --git a/docs/platforms/javascript/guides/nextjs/index.mdx b/docs/platforms/javascript/guides/nextjs/index.mdx index 2ebfb2faed4ab..2804e0ae5a54b 100644 --- a/docs/platforms/javascript/guides/nextjs/index.mdx +++ b/docs/platforms/javascript/guides/nextjs/index.mdx @@ -9,8 +9,6 @@ categories: - server-node --- - - @@ -333,8 +331,6 @@ Learn more about [Logs configuration](/platforms/javascript/guides/nextjs/logs/) - - ## Next Steps You've successfully integrated Sentry into your Next.js application! Here's what to explore next: diff --git a/docs/platforms/javascript/guides/nextjs/manual-setup/index.mdx b/docs/platforms/javascript/guides/nextjs/manual-setup/index.mdx index 7deea5e94aae1..8ffd367b7f41c 100644 --- a/docs/platforms/javascript/guides/nextjs/manual-setup/index.mdx +++ b/docs/platforms/javascript/guides/nextjs/manual-setup/index.mdx @@ -15,8 +15,6 @@ categories: installer](/platforms/javascript/guides/nextjs). - - This guide covers manual setup for **Next.js 15+ with Turbopack and App Router**. For other setups, see: - [Pages Router Setup](/platforms/javascript/guides/nextjs/manual-setup/pages-router/) - For applications using the Pages Router @@ -589,10 +587,6 @@ If your application uses both the App Router and Pages Router: the appropriate instrumentation. -

Known Limitations

- - -

Next Steps

You've successfully integrated Sentry into your Next.js application! Here's what to explore next: diff --git a/platform-includes/nextjs-cache-components-limitations/alert/javascript.nextjs.mdx b/platform-includes/nextjs-cache-components-limitations/alert/javascript.nextjs.mdx deleted file mode 100644 index 0d96ae77e1442..0000000000000 --- a/platform-includes/nextjs-cache-components-limitations/alert/javascript.nextjs.mdx +++ /dev/null @@ -1,5 +0,0 @@ - - -If you're using Next.js [Cache Components](https://nextjs.org/docs/app/getting-started/cache-components), there are known compatibility issues with server-side tracing. See [Cache Components Limitations](#cache-components-limitations) for details and workarounds. - - diff --git a/platform-includes/nextjs-cache-components-limitations/section/javascript.nextjs.mdx b/platform-includes/nextjs-cache-components-limitations/section/javascript.nextjs.mdx deleted file mode 100644 index 55180eca91079..0000000000000 --- a/platform-includes/nextjs-cache-components-limitations/section/javascript.nextjs.mdx +++ /dev/null @@ -1,25 +0,0 @@ -### Cache Components Limitations - -If you're using Next.js [Cache Components](https://nextjs.org/docs/app/getting-started/cache-components), you may encounter errors like: - -``` -Accessing random cryptographic values synchronously in a Server Component requires reading one of these data sources first... -``` - -#### Turbopack with `generateMetadata` - -Using `generateMetadata` in page components with Turbopack and the Sentry SDK is currently not supported. ([Tracking issue](https://github.com/getsentry/sentry-javascript/issues/18392)) - -**Workarounds:** - -- Remove `generateMetadata` from affected page components -- Disable server-side tracing by removing or renaming your `instrumentation.ts` file - -#### Webpack with Cache Components - -Cache Components are not supported when using webpack. ([Tracking issue](https://github.com/getsentry/sentry-javascript/issues/18340)) - -**Workarounds:** - -- Switch to Turbopack (note the `generateMetadata` limitation above) -- Disable server-side tracing by removing or renaming your `instrumentation.ts` file