Skip to content

Init command fails with ERESOLVE due to React 19.2.4 vs 19.2.7 mismatch #753

Description

@21142

Describe the bug
Running npx next-forge@latest init fails during npm install with ERESOLVE dependency conflict between react@19.2.4 and react@19.2.7.

next-forge version
I am using version 6.0.3 / latest (via npx)

To Reproduce
Steps to reproduce the behavior:

  1. Run:

    npx next-forge@latest init
  2. Name your project

  3. Observe install failure during dependency resolution

Expected behavior
Project should install successfully after initialization.

Screenshots
Image

Desktop

  • OS: MacOS
  • Browser Chrome
  • Node: v20.19.3
  • npm: 10.8.2
  • create-next-app: 16.2.9

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions