Skip to content

Obsolete Turbopack warning shown? #16060

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
3 tasks done
jrr opened this issue Apr 14, 2025 · 3 comments
Closed
3 tasks done

Obsolete Turbopack warning shown? #16060

jrr opened this issue Apr 14, 2025 · 3 comments

Comments

@jrr
Copy link

jrr commented Apr 14, 2025

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": "pnpm@10.7.1",
  "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.

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 3 Apr 14, 2025
@linear linear bot added the Bug label Apr 14, 2025
@github-actions github-actions bot added the Package: nextjs Issues related to the Sentry Nextjs SDK label Apr 14, 2025
@lforst
Copy link
Member

lforst commented Apr 15, 2025

I may be stupid but I cannot reproduce this 🤔 Would you mind providing a reproduction example?

@jrr
Copy link
Author

jrr commented Apr 15, 2025

@getsantry getsantry bot moved this from Waiting for: Community to Waiting for: Product Owner in GitHub Issues with 👀 3 Apr 15, 2025
@lforst
Copy link
Member

lforst commented Apr 16, 2025

Ah god I thought I was going crazy. A colleague already fixed this and I was looking at current code being like "how on earth are we entering that branch" 😂 #16026

Thanks for the repro. That cleared things up! It will be fixed with the next release.

@lforst lforst closed this as completed Apr 16, 2025
@stephanie-anderson stephanie-anderson removed the Package: nextjs Issues related to the Sentry Nextjs SDK label Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

4 participants