-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Attempted import error: 'wrapGetServerSidePropsWithSentry' is not exported from '@sentry/nextjs' #7254
Comments
Thanks for writing in, I pushed a fix: #7256 |
@jvidalv It is super unlikely that this is still happening in the new version. Can you clear your pnpm cache and try again? |
Hi @lforst , thanks for the quick reply. I did indeed use: As mentioned the latest version that seems to work is 7.31.1. |
@jvidalv got it. Can you share a reproduction example? Just something we can clone or a https://stackblitz.com/ would be enough. |
@lforst finally found the root cause of the error, any page that has:
Configured, makes the build fail with versions bigger that 4.31 with the error that I shared. |
@jvidalv woah didn't even know you could do that. Would you mind creating a separate issue for this so we can fix it? Thanks! |
Thank you! |
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using? If you use the CDN bundles, please specify the exact bundle (e.g.
bundle.tracing.min.js
) in your SDK setup.@sentry/nextjs
SDK Version
7.38.0
Framework Version
React 18.2.0
Link to Sentry event
No response
SDK Setup
No response
Steps to Reproduce
No idea
Expected Result
No warning to pop up. It seems though that it doesn't break anything.
Actual Result
The text was updated successfully, but these errors were encountered: