Skip to content

Attempted import error: 'withSentry' is not exported from '@sentry/nextjs'. #3673

@HarshaDW

Description

@HarshaDW

Package + Version

  • @sentry/nextjs @ 6.7.0
  • next @ 10.0.6`

Description

Describe your issue in detail, ideally, you have a reproducible demo that you can show.

Attempted import error: 'withSentry' is not exported from '@sentry/nextjs'.

Though exported in handlers.ts enabled import into api/index handler.

Same with import * as Sentry from "@sentry/nextjs";

Metadata

Metadata

Assignees

No one assigned

    Labels

    Package: nextjsIssues related to the Sentry Nextjs SDK

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions