Skip to content

Upgraded from 0.70.0 to 0.70.6, not allowed by rnx-align-deps? #2086

Answered by tido64
benomatis asked this question in Q&A
Discussion options

You must be logged in to vote

This is to ensure that your package manager resolves the requested version, ^0.70.0, to the same version for your whole repository. If you had, for example, both ^0.70.0 and ^0.70.6, you can end up with two different copies of react-native. You can find more information about the reasons in this document: https://microsoft.github.io/rnx-kit/docs/architecture/dependency-management

That said, the caret (^) allows you to bump patch version. ^0.70.0 is the same as 0.70.x. If you want to upgrade to 0.70.6, you can use the upgrade command of your package manager (instructions for Yarn). If you prefer to do so manually, you can also try removing the react-native entry in yarn.lock and re-run ins…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@benomatis
Comment options

Answer selected by benomatis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants