Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I upgrade the react-native version?

I tried to update my react-native version to latest one. i.e react-native 0.60.3 I got the following error with these two methods.

C:\Users\Kamlesh\Desktop\Final Project>react-native upgrade

info No version passed. Fetching latest...
info Fetching diff between v0.59.9 and v0.60.4...
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```


C:\Users\Kamlesh\Desktop\Final Project>react-native upgrade [email protected]

info Fetching diff between v0.59.9 and v0.60.3...
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
like image 252
Kamalesh kunwar Avatar asked May 24 '26 18:05

Kamalesh kunwar


1 Answers

I had the same problem. How do I fixed?

  • change package.json setting react-native to 0.59.10
  • run npm install
  • now run react-native upgrade
like image 138
jaimeneto85 Avatar answered May 26 '26 14:05

jaimeneto85



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!