Skip to content

Dependency conflict with React v19 #93

@minecrawler

Description

@minecrawler

Describe the bug

npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving:
npm error Found: react@19.0.0
npm error node_modules/react
npm error react@"^19" from the root project
npm error
npm error Could not resolve dependency:
npm error peer react@"^16.8.0 || ^17.0.0 || ^18.0.0" from @tanstack/react-ranger@0.0.4
npm error node_modules/@tanstack/react-ranger
npm error @tanstack/react-ranger@"0.0.4" 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.

Your Example Website or App

npm

Steps to Reproduce the Bug or Issue

  1. npm install react@19.0.0
  2. npm install @tanstack/react-ranger

Expected behavior

Upgrade to React v19 works

Screenshots or Videos

No response

Platform

  • OS: Windows

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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