Skip to content

"Package path ./esm/config/templates/requestAsyncStorageShim.js is not exported from package" with latest Next.js canary releases #13925

Closed
@mrmckeb

Description

@mrmckeb

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.181+

Link to Sentry event

No response

Reproduction Example/SDK Setup

Error when building:

Module not found: Package path ./esm/config/templates/requestAsyncStorageShim.js is not exported from package /vercel/path0/apps/[app-name]/node_modules/@sentry/nextjs (see exports field in /vercel/path0/apps/[app-name]/node_modules/@sentry/nextjs/package.json)

Steps to Reproduce

Use @sentry/nextjs in a project running canary 15.0.0-canary.181 or higher.

Expected Result

Builds without errors.

Actual Result

Fails to build.

Metadata

Metadata

Assignees

Labels

Package: nextjsIssues related to the Sentry Nextjs SDK

Type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions