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

Aperta
#991 1 commento 10 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
javascript, react-native
Ambito
mobile

Direzione di ricerca

Start by checking the package's peer dependency declarations and the release notes for React Native 0.79.4; the issue gives the conflicting versions and reproduction command. Confirm which React and React Native versions the package supports alongside Expo 53, then run the stated npm install reproduction. Done means that supported dependency combination installs without the reported peer dependency conflict.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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: [email protected]
npm error node_modules/react
npm error   peer react@"^19.0.0" from [email protected]
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/[email protected]
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/[email protected] in conjunction with [email protected]

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

Lingua principale
JavaScript
Stelle
2.9k
Fork
459
Merge medio
4g 16h
PR unite (30g)
5

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di react-native-datetimepicker/datetimepicker

Tutte le issue di react-native-datetimepicker/datetimepicker

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.