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

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

@marina-ferreira

Description

@marina-ferreira

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/slate-serializer@1.6.0
npm ERR! Found: react@18.2.0
npm ERR! node_modules/react
npm ERR!   react@"18.2.0" from the root project
npm ERR!   peer react@">=16.3.0" from @callstack/react-theme-provider@3.0.9
npm ERR!   node_modules/@callstack/react-theme-provider
npm ERR!     @callstack/react-theme-provider@"^3.0.9" from react-native-paper@5.12.5
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/slate-serializer@1.6.0
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: react@17.0.2
npm ERR! node_modules/react
npm ERR!   peer react@"^17.0.2" from @voiceflow/slate-serializer@1.6.0
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions