Skip to content
This repository has been archived by the owner on Feb 5, 2025. It is now read-only.

Conflicting peer dependency when installing @voiceflow/slate-serializer #287

Open
marina-ferreira opened this issue Nov 8, 2024 · 0 comments

Comments

@marina-ferreira
Copy link

Currently installed:

"react": "18.2.0",
"@voiceflow/fetch": "^1.9.0",
"@voiceflow/react-chat": "^1.65.2",
"@voiceflow/slate-serializer": "^1.6.0",
"nanoevents": "^9.1.0",
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: @voiceflow/[email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR!   react@"18.2.0" from the root project
npm ERR!   peer react@">=16.3.0" from @callstack/[email protected]
npm ERR!   node_modules/@callstack/react-theme-provider
npm ERR!     @callstack/react-theme-provider@"^3.0.9" from [email protected]
npm ERR!     node_modules/react-native-paper
npm ERR!       react-native-paper@"^5.12.5" from the root project
npm ERR!   43 more (@gorhom/bottom-sheet, @gorhom/portal, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^17.0.2" from @voiceflow/[email protected]
npm ERR! node_modules/@voiceflow/slate-serializer
npm ERR!   @voiceflow/slate-serializer@"^1.6.0" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/react
npm ERR!   peer react@"^17.0.2" from @voiceflow/[email protected]
npm ERR!   node_modules/@voiceflow/slate-serializer
npm ERR!     @voiceflow/slate-serializer@"^1.6.0" 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.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant