dequelabs / dequelabs/cauldron

Bug: can't install under react v19

Open
#2,207 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
127
Forks
31
Avg merge
2d 12h
Merged PRs (30d)
8

Description

### 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](https://cauldron.dequelabs.com/): `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

```shell
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
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.