-
Notifications
You must be signed in to change notification settings - Fork 24.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[npm] Stupid question: Why is npm update react-native
not updating?
#1543
Comments
The latest stable release is 0.5.0. Did you make sure to update the version inside of package.json? Afterwards, you can just run |
@jaygarcia - I'd recommend updating the version in |
npm update react-native
not updating?npm update react-native
not updating?
@christopherdro @brentvatne that worked. It feels pretty stupid to have to manually update package.json, but it works. =) Thanks. |
I cant for the life of me get this to work. I navigate to my project folder and change version number in package.json from 0.4.4 to 0.6.0 and then do npm update but it just changes it back to 0.4.4 |
this might help #1606 |
@jaygarcia I agree. This requires you to know that there is a more recent version, which version number that is, update the |
Don't forget to run |
FYI, my buddy EKryski and I were hanging out and he mentioned that NPM has a weird behaviour when the major version is 0. Basically, when the major version of a package is 0, like React Native is (currently So, for packages with a major release of 0 you have a few options, including using
And that will update to the latest version using Or you can manually specify the exact version you want. Also, a great little npm command is |
Wasn't 0.6.0 released a few days ago? My project just won't update.
Someone please help me understand what i'm doing wrong here.
Then checking:
The text was updated successfully, but these errors were encountered: