react-snowfall
react-snowfall copied to clipboard
Unable to install in React 19 project
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
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 || 17.x || 18.x" from [email protected]
npm error node_modules/react-snowfall
npm error react-snowfall@"*" 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.
Tested it on one of my own projects. It works as intended on react-19 so I've put forward a PR #82 to update peerDependencies.
Would love to get the linked pr out 🎈
I have also tested it in my project with react 19. It is working but needs --legacy-peer-deps or --force for npm installation. if anyone can fix this small issue it would be great