Skip to content

Attempted import error: 'wrapGetServerSidePropsWithSentry' is not exported from '@sentry/nextjs' #7254

Closed
@mcmxcdev

Description

@mcmxcdev

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

> nx run app:build:production

info  - Skipping validation of types
info  - Skipping linting
info  - Creating an optimized production build  
warn  - Compiled with warnings

../../libs/shared/utils/src/lib/session.ts
Attempted import error: 'wrapGetServerSidePropsWithSentry' is not exported from '@sentry/nextjs' (imported as 'wrapGetServerSidePropsWithSentry').

Metadata

Metadata

Assignees

Labels

Package: nextjsIssues related to the Sentry Nextjs SDK

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions