React Native Environment Info:
System:
OS: macOS 10.14.6
CPU: (12) x64 Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz
Memory: 3.32 GB / 32.00 GB
Shell: 5.3 - /bin/zsh
Binaries:
Node: 12.3.1 - /usr/local/bin/node
Yarn: 1.16.0 - /usr/local/bin/yarn
npm: 6.9.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.4, macOS 10.14, tvOS 12.4, watchOS 5.3
Android SDK:
API Levels: 23, 25, 27, 28
Build Tools: 23.0.1, 27.0.3, 28.0.3
System Images: android-18 | Google APIs Intel x86 Atom, android-28 | Google APIs Intel x86 Atom, android-28 | Google Play Intel x86 Atom
IDEs:
Android Studio: 3.4 AI-183.5429.30.34.5452501
Xcode: 10.3/10G8 - /usr/bin/xcodebuild
npmPackages:
react: 16.8.3 => 16.8.3
react-native: 0.59.9 => 0.59.9
npmGlobalPackages:
react-native-cli: 2.0.1
react-native-create-library: 3.1.2
react-native-git-upgrade: 0.2.7
when I try upgrade from 0.59.9 got an error:
info No version passed. Fetching latest...
info Fetching diff between v0.59.9 and v0.60.5...
error Failed to fetch diff for [email protected]. Maybe it's not released yet?
info For available releases to diff see: https://github.com/react-native-community/rn-diff-purge#version-changes
react-native upgrade
Can you run this command with --verbose flag and paste the output?
react-native upgrade --verbose
info No version passed. Fetching latest...
info Fetching diff between v0.59.9 and v0.60.5...
error Failed to fetch diff for [email protected]. Maybe it's not released yet?
info For available releases to diff see: https://github.com/react-native-community/rn-diff-purge#version-changes
I'm also experiencing the same issue .
Ah, you're on an older version of the CLI. Can you please run the standalone? It should output more information:
npx @react-native-community/cli upgrade
Anyway, I suspect there's something misconfigured with your network, maybe firewall, proxy or vpn? Can you access this link: https://raw.githubusercontent.com/react-native-community/rn-diff-purge/diffs/diffs/0.59.9..0.60.5.diff ?
@thymikee yes, you are right. The problem was proxy. Thanks for help 馃憤
I had the same issue. Upgrading node helped.
May be your cli is too old, you may try running npm i -g react-native before upgrade
Resolved the issue by upgrading manually
Most helpful comment
Ah, you're on an older version of the CLI. Can you please run the standalone? It should output more information: