Skip to content

@sentry/nextjs peerDependencies doesn't include Next.js 14 #9380

Closed
@ianschmitz

Description

@ianschmitz

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

7.75.1

Framework Version

14.0.0

Link to Sentry event

No response

SDK Setup

No response

Steps to Reproduce

Try to install the package while using next@14.0.0

Expected Result

No npm install errors

Actual Result

npm ERR!
 While resolving: undefined@undefined
npm ERR! Found: next@14.0.0
npm ERR! node_modules/next
npm ERR!   next@"^14.0.0" from the root project
npm
 ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer next@"^10.0.8 || ^11.0 || ^12.0 || ^13.0" from @sentry/nextjs@7.75.1
npm ERR! node_modules/@sentry/nextjs
npm ERR!   @sentry/nextjs@"^7.75.1" from the root project

Metadata

Metadata

Assignees

No one assigned

    Labels

    Package: browserIssues related to the Sentry Browser SDK

    Type

    No type

    Projects

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions