React 19 support
envgap__pmndrs__react-spring-2341
Original GitHub issue ↗Opened 2024-12-07
01 / FAILURE SIGNATURE
As reported upstream
npm error code ERESOLVE
Not a benchmark task.
- No curated issue-specific recipe or verified environment fix is available.
02 / ENVIRONMENT RECIPE
- Base commit
Not freshly verified- Manifest
package.json- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
pmndrs/react-spring #2341 · read the original issue
### Which react-spring target are you using? - [X] `@react-spring/web` - [ ] `@react-spring/three` - [ ] `@react-spring/native` - [ ] `@react-spring/konva` - [ ] `@react-spring/zdog` ### What version of react-spring are you using? 9.7.4 ### What's Wrong? npm error Could not resolve dependency ### To Reproduce npm i @react-spring/web ### Expected Behaviour (node:26685) ExperimentalWarning: CommonJS module /opt/homebrew/lib/node_modules/npm/node_modules/debug/src/node.js is loading ES Module /opt/homebrew/lib/node_modules/npm/node_modules/supports-color/index.js using require(). Support for loading ES Module in require() is an experimental feature and might change at any time (Use `node --trace-warnings ...` to show where the warning was created) npm error code ERESOLVE npm error ERESOLVE unable to resolve dependency tree npm error npm error While resolving: undefined@undefined npm error Found: react@19.0.0 npm error node_modules/react npm error react@"^19.0.0" 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 @react-spring/web@9.7.5 npm error node_modules/@react-spring/web npm error @react-spring/web@"*" 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. ### Link to repo https://github.com/pmndrs/react-spring
04 / LABELS
Labels from the report text only; not yet run
misspecificationLabel rules and the text that matched
[
{
"category": "misspecification",
"rule": "signature.unresolvable_declared_requirement",
"source": "failure_signature",
"excerpt": "npm error code ERESOLVE"
}
]Issue-specific recipe and runtime smoke command require review against the complete issue and repository.
Legacy reproduction is generic install-only; match the actual issue failure before admission.