Skip to content

Obsolete Turbopack warning shown? #16060

Closed
Closed
@jrr

Description

@jrr

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/nextjs

SDK Version

9.12.0

Framework Version

Next 15.3.0

Link to Sentry event

No response

Reproduction Example/SDK Setup

It's a pnpm monorepo with turbopack, with turbo installed at the root level and sentry living within the next project:

// package.json
{
  // ...
  "devDependencies": {
    "prettier": "^3.5.3",
    "turbo": "^2.5.0",
    "typescript": "~5.8.3"
  },
  "packageManager": "[email protected]",
  "engines": {
    "node": ">=22"
  }
}
// apps/web/package.json
{
  "name": "@repo/web",
  "type": "module",
  // ...
  "dependencies": {
    // ...
    "@sentry/nextjs": "^9.12.0",
    "next": "15.3.0",
  },
}

Steps to Reproduce

Update turbo, next, and sentry to the latest versions!

If this is difficult to repro I will try to assemble an example.

Expected Result

The turbopack warning doesn't appear after its version requirements have been satisfied.

Actual Result

[@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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugPackage: nextjsIssues related to the Sentry Nextjs SDK

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions