Skip to content
This repository was archived by the owner on Dec 20, 2025. It is now read-only.
This repository was archived by the owner on Dec 20, 2025. It is now read-only.

[BUG]: Next 15 not supported #62

@sammaxwellxyz

Description

@sammaxwellxyz

Describe the bug

When I try to install alongside next 15 an error is raised including

npm error Conflicting peer dependency: next@14.2.17
npm error node_modules/next
npm error   peer next@"^9.5.0 || ^10.2.1 || ^11.1.0 || ^12.1.0 || ^13.0.0 || ^14.0.0" from next-safe@3.5.0
npm error   node_modules/next-safe
npm error     next-safe@"^3.5.0" from the root project

Steps To Reproduce

  1. Create new Next.js app
  2. Setup next-safe:
    npm add next-safe
    
  3. Start app
  4. See error

Version

v3.x.x

Relevant log output

❯ npm add next-safe
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: safe-demo@0.1.0
npm error Found: next@15.0.3
npm error node_modules/next
npm error   next@"15.0.3" from the root project
npm error
npm error Could not resolve dependency:
npm error peer next@"^9.5.0 || ^10.2.1 || ^11.1.0 || ^12.1.0 || ^13.0.0 || ^14.0.0" from next-safe@3.5.0
npm error node_modules/next-safe
npm error   next-safe@"*" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

needs: triageWaiting for a contributor to triagetype: bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions