You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// This file configures the initialization of Sentry on the client.// The config you add here will be used whenever a users loads a page in their browser.// https://docs.sentry.io/platforms/javascript/guides/nextjs/import*asSentryfrom"@sentry/nextjs"Sentry.init({// Setting this option to true will print useful information to the console while you're setting up Sentry.debug: false,dsn: "",enabled: process.env.NODE_ENV==="production",// You can remove this option if you're not planning to use the Sentry Session Replay feature:integrations: [Sentry.replayIntegration({blockAllMedia: true,// Additional Replay configuration goes in here, for example:maskAllText: true,}),Sentry.browserTracingIntegration(),Sentry.browserProfilingIntegration(),Sentry.httpClientIntegration(),],replaysOnErrorSampleRate: 1.0,// This sets the sample rate to be 10%. You may want this to be 100% while// in development and sample at a lower rate in productionreplaysSessionSampleRate: 0.1,// Adjust this value in production, or use tracesSampler for greater controltracesSampleRate: 0.25,})
Steps to Reproduce
Ran the npx @sentry/wizard@latest -i nextjs with the recommended configuration for each step
next.config.mjs
Hi @ReDev1L thanks for writing in! I tried reproducing this with a new NextJS canary app on the same version, following your code snippets. The only difference is that I couldn't get jiti to work (neither do I know why it's needed). Unfortunately, I can't reproduce the issue and I'm a bit confused by the issue description.
For us to debug this further, please:
provide a minimal repoduction (GH repo, Stackblitz, zip, whatever)
elaborate what you mean with "strange source map names". I think they just look like normal JS files?
let us know how to trigger the error you showed in the screenshot
I couldn't access the link you posted to your Sentry error. Any chance there's a typo in it?
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
8.33.1
Framework Version
Next.js 15.0.0-canary.179
Link to Sentry event
https://sentry.io/issues/5906193606/?project=4507742455398400
Reproduction Example/SDK Setup
build.log
sentry.client.config.ts
Steps to Reproduce
Ran the npx @sentry/wizard@latest -i nextjs with the recommended configuration for each step
next.config.mjs
Expected Result
traces plz!
Actual Result
no traces!
The text was updated successfully, but these errors were encountered: