Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions