React icon indicating copy to clipboard operation
React copied to clipboard

Incompatible Peer Dependency with React 19

Open ultimatekristency opened this issue 10 months ago • 3 comments

The package [email protected] does not support React 19. While trying to install it in a Next.js project using React 19, I encountered the following error:

npm error peer react@"^15.0.0 || ^18.0.0" from [email protected]

This prevents installation unless --legacy-peer-deps or --force is used. Could you update the package to support React 19? Thanks!

ultimatekristency avatar Mar 18 '25 15:03 ultimatekristency

+1

Rufai-Ahmed avatar Jun 16 '25 23:06 Rufai-Ahmed

@ultimatekristency, I faced this issue multiple times, and had to make a lib for it, check it out: https://github.com/DaggieBlanqx/flutterwave-next.

DaggieBlanqx avatar Aug 30 '25 18:08 DaggieBlanqx

Hmm, I could jump in to modify the package.json and create a pull request on this but first I would love to know if the maintainer what the maintainer feels about the new React Version and if there would be breaking changes. I would help a lot.

I could do this myself but I guess that would be the hard way.

I love this codebase, using it in my app has been really nice. So...

kehindeyishawu avatar Oct 27 '25 21:10 kehindeyishawu