Sentry.init({
environment: process.env.NEXT_PUBLIC_SITE_URL === "https://[..]" ? "production" : "development",
dsn: SENTRY_DSN || "[..]",
includeLocalVariables: true,
tracesSampleRate: 0.2,
});
[@sentry/nextjs] Could not instrument /[..]/app/checkout/[step]/page.jsx. An error occurred while auto-wrapping:
SyntaxError: Unexpected token (14:55) in __SENTRY_WRAPPING_TARGET_FILE__.cjs
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
7.57.0
Framework Version
7.57.0
Link to Sentry event
No response
SDK Setup
Steps to Reproduce
app/checkout/[step]/page.jsxExpected Result
Auto-wrapping to work
Actual Result