Skip to content

React 18.1.0 compatibility #11

Description

@Monikku12

Hi,
Is there a way to make it work with React 18? It's telling me I have to downgrade to React 16. And, not sure if I want to do that.

$ npm i react-native-floating-action-bar --save
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: my_app@1.0.0
npm ERR! Found: react@18.1.0
npm ERR! node_modules/react
npm ERR! react@"18.1.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.13.1" from react-native-floating-action-bar@1.1.3
npm ERR! node_modules/react-native-floating-action-bar
npm ERR! react-native-floating-action-bar@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! C:\Users\ [...] -eresolve-report.txt

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\ [...] -debug-0.log

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions