Skip to content

Bug: can't install under react v19 #2207

@kenirwin

Description

@kenirwin

Steps to reproduce

The Cauldron documentation says that it's good for react and react-dom at 16.x or higher, but I'm getting a dependency conflict under react and react-dom @19.2.3. Should this work? Is there a way to get it to work under react 19?

Steps to recreate:

  1. Create a react project using react v.19
  2. Copy and paste cauldron install command from documentation: npm install @deque/cauldron-react @deque/cauldron-styles
  3. Error:
npm error Found: react@19.2.3
npm error node_modules/react
npm error   react@"^19.2.3" from the root project
npm error
npm error Could not resolve dependency:
npm error peer react@">=16.6 <= 18" from @deque/cauldron-react@6.23.3

Expected Behavior

Based on the documentation, I expected the npm install command to work.

Version

@latest

What browser(s) are you experiencing the problem on?

No response

Relevant log output

npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: argus@0.7.0-dev
npm error Found: react@19.2.3
npm error node_modules/react
npm error   react@"^19.2.3" from the root project
npm error
npm error Could not resolve dependency:
npm error peer react@">=16.6 <= 18" from @deque/cauldron-react@6.23.3
npm error node_modules/@deque/cauldron-react
npm error   @deque/cauldron-react@"6.23.3" 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
npm error
npm error For a full report see:
npm error /Users/irwinkr/.npm/_logs/2026-01-20T19_55_35_913Z-eresolve-report.txt
npm error A complete log of this run can be found in: /Users/irwinkr/.npm/_logs/2026-01-20T19_55_35_913Z-debug-0.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions