This is a small repro for a minor issue with @sentry/nextjs
.
The issue is that the dev server emits a warning, seemingly incorrectly. (it wants you to upgrade to Next.js 15.3, when the app is already on Next.js 15.3.)
> pnpm i
> turbo dev
turbo 2.5.0
• Packages in scope: @repo/web
• Running dev in 1 packages
• Remote caching disabled
@repo/web:dev: cache bypass, force executing 91c6dafba657609f
@repo/web:dev:
@repo/web:dev: > @repo/web@0.1.0 dev /Users/jrr/sentry-issue-repro/apps/web
@repo/web:dev: > next dev --turbopack
@repo/web:dev:
@repo/web:dev: [@sentry/nextjs] WARNING: You are using the Sentry SDK with Turbopack (`next dev --turbo`). The Sentry SDK is compatible with Turbopack on Next.js version 15.3.0 or later. You are currently on 15.3.0. Please upgrade to a newer Next.js version to use the Sentry SDK with Turbopack. Note that the SDK will continue to work for non-Turbopack production builds. This warning is only about dev-mode.
@repo/web:dev: ▲ Next.js 15.3.0 (Turbopack)
@repo/web:dev: - Local: http://localhost:3000