react-native-gifted-chat
react-native-gifted-chat copied to clipboard
Please update "use-memo-one" to "1.1.3" (react 18 support)
Output:
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/react
npm WARN react@"18.1.0" from the root project
npm WARN 27 more (@expo/react-native-action-sheet, ...)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer react@"^16.8.0 || ^17.0.0" from [email protected]
npm WARN node_modules/react-native-gifted-chat/node_modules/use-memo-one
npm WARN use-memo-one@"1.1.2" from [email protected]
npm WARN node_modules/react-native-gifted-chat
npm WARN
npm WARN Conflicting peer dependency: [email protected]
npm WARN node_modules/react
npm WARN peer react@"^16.8.0 || ^17.0.0" from [email protected]
npm WARN node_modules/react-native-gifted-chat/node_modules/use-memo-one
npm WARN use-memo-one@"1.1.2" from [email protected]
npm WARN node_modules/react-native-gifted-chat
I too am having this issue.
I saw another issue, #2200, that makes reference to use-memo-one being abandoned. However, it was just updated a few months ago to support React 18.
Posting so I can get updated if this gets fixed 😄
I am also still encountering the same issue.
any solution? ðŸ˜
same issue
I'm experiencing the same issue
npm uninstall use-memo-one react-native-gifted-chat npm install use-memo-one react-native-gifted-chat
The commands will auto install use-memo-one 1.1.3 to fit react 18.0. It works.
if you use npm add this to your packages.json
"overrides": { "react-native-gifted-chat": { "use-memo-one": "1.1.3" } },