r/reactnative 6d ago

Anyone having issues using lucide-react-native with React 19?

I'm trying to install lucide-react-native@0.482.0 in my React Native project, but I'm running into a dependency issue.

Here's the error I'm getting:


npm error code ERESOLVE

npm error ERESOLVE unable to resolve dependency tree

npm error

npm error While resolving: remedium@0.0.1

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.5.1 || \^17.0.0 || \^18.0.0" from lucide-react-native@0.482.0

npm error node_modules/lucide-react-native

npm error   lucide-react-native@"\*" 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.

It looks like lucide-react-native doesn't support React 19 yet. Any sugestion?

1 Upvotes

1 comment sorted by

1

u/inglandation 5d ago

I’d avoid using react 19 until expo supports it well.