-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Attempted import error: 'prismaIntegration' is not exported from '@sentry/nextjs' (imported as 'prismaIntegration'). #15548
-
Hi everyone,
I have a nextjs app and I am using prisma and sentry. I was following the documentation for prisma integration on sentry but when I try to add the prismaIntegration()
on sentry.server.config.ts
I am getting this error and the app breaks:
⚠ ./sentry.server.config.ts
Attempted import error: 'prismaIntegration' is not exported from '@sentry/nextjs' (imported as 'prismaIntegration').
Import trace for requested module:
./sentry.server.config.ts
Someone knows what is going on? Or somebody already put the prisma integration with sentry working?
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment 12 replies
-
what version of the SDK are you on?
Beta Was this translation helpful? Give feedback.
All reactions
-
@matheusrocha89 Did you find the reason?
Beta Was this translation helpful? Give feedback.
All reactions
-
@mattiasw No, I didn't have time to start a blank project from scratch to put here and try to reproduce. Are you having the same issue?
And to be honest, I was doing other things in the project that I forgot that. But thanks to remember me about it 😄
Beta Was this translation helpful? Give feedback.
All reactions
-
Yes, I have, but I don't think I will put any more time into this right now either. Thanks for the reply though.
Beta Was this translation helpful? Give feedback.
All reactions
-
@mattiasw I will try one last time (the last dance 😄) on it tonightor on Saturday afternoon. Gonna try to set a project in a repo to use as an example and share here with @lforst
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
@chargome 👋 ping bc I don't know if you guys sync discussions to linear
Beta Was this translation helpful? Give feedback.