facebook / react-native

A framework for building native applications using React
https://reactnative.dev
MIT License
118.09k stars 24.19k forks source link

npx react-native upgrade #39733

Closed ayansGit closed 11 months ago

ayansGit commented 11 months ago

Description

Trying to regenerate android and iOS folder by running: npx react-native upgrade

info Fetching diff between v0.72.3 and v0.72.5...

error request to https://raw.githubusercontent.com/react-native-community/rn-diff-purge/diffs/diffs/0.72.3..0.72.5.diff failed, reason: read ECONNRESET

error Failed to fetch diff for react-native@0.72.5. Maybe it's not released yet?

React Native Version

0.72.3

Output of npx react-native info

System: OS: macOS 12.5 CPU: (8) arm64 Apple M1 Memory: 106.23 MB / 8.00 GB Shell: version: 5.8.1 path: /bin/zsh Binaries: Node: version: 16.9.1 path: /opt/homebrew/bin/node Yarn: Not Found npm: version: 9.3.1 path: /opt/homebrew/bin/npm Watchman: version: 2021.09.06.00 path: /opt/homebrew/bin/watchman Managers: CocoaPods: version: 1.11.2 path: /usr/local/bin/pod SDKs: iOS SDK: Platforms:

Steps to reproduce

  1. Remove the android and iOS folder.
  2. Try regenerating in by running: npx react-native upgrade

Snack, screenshot, or link to a repository

Screenshot 2023-10-01 at 10 42 14 AM
github-actions[bot] commented 11 months ago
:warning: Newer Version of React Native is Available!
:information_source: You are on a supported minor version, but it looks like there's a newer patch available - 0.72.5. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases.
github-actions[bot] commented 11 months ago
:warning: Missing Reproducible Example
:information_source: We could not detect a reproducible example in your issue report. Please provide either:
  • If your bug is UI related: a Snack
  • If your bug is build/update related: use our Reproducer Template. A reproducer needs to be in a GitHub repository under your username.
cortinico commented 11 months ago

error request to react-native-community/rn-diff-purge@diffs/diffs/0.72.3..0.72.5.diff (raw) failed, reason: read ECONNRESET

You're having a connection problem, so that's definitely a local problem of yours.

npx react-native upgrade

Moreover this command has been removed from the CLI. Anyway if you're looking for futher support, please open an issue over here: https://github.com/react-native-community/cli/issues

corymchambers commented 5 months ago

error request to react-native-community/rn-diff-purge@diffs/diffs/0.72.3..0.72.5.diff (raw) failed, reason: read ECONNRESET

You're having a connection problem, so that's definitely a local problem of yours.

npx react-native upgrade

Moreover this command has been removed from the CLI. Anyway if you're looking for futher support, please open an issue over here: https://github.com/react-native-community/cli/issues

Out of curiosity, do you know why they removed the upgrade command from the CLI?