Skip to content

Update to the latest version of React Native peer dependency for version 79.4 #991

@jaaywags

Description

@jaaywags

Bug report

When trying to update to the latest version of react native (version 0.79.4) I get this error.

npm error Conflicting peer dependency: react@19.0.0
npm error node_modules/react
npm error   peer react@"^19.0.0" from react-native@0.79.4
npm error   node_modules/react-native
npm error     react-native@"0.79.4" from the root project
npm error     peer react-native@"*" from @react-native-community/datetimepicker@8.4.1
npm error     node_modules/@react-native-community/datetimepicker
npm error       @react-native-community/datetimepicker@"8.4.1" from the root project
npm error     5 more (expo, @expo/dom-webview, @expo/metro-runtime, ...)

Reproducible sample code

Package.json

"@react-native-community/datetimepicker": "8.4.1",

Steps to reproduce

  1. Attempt to install @react-native-community/datetimepicker@8.4.1 in conjunction with react-native@0.79.4

Describe what you expected to happen:

  1. Run npm i
  2. Do not receive an error.

Environment info

Expo 52 trying to move to 53

This is closely related to issue #893

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