How to I upgrade the react native version if I used this tool previously? #3418
Unanswered
ThakurKarthik
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Just to check, if you change the entry in all your package.json files to "[email protected]", and then run "align-deps --write" that doesn't work? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hey, if you take a look in the docs, As mentioned above, an alternative is to manually change |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi I upgraded to react-native 0.74.0 previously using this tool. My package.json has a section
![image](https://private-user-images.githubusercontent.com/26309938/386988333-02c0d844-305b-48d9-befe-bf6c603cbcc0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg3OTQ4NDAsIm5iZiI6MTczODc5NDU0MCwicGF0aCI6Ii8yNjMwOTkzOC8zODY5ODgzMzMtMDJjMGQ4NDQtMzA1Yi00OGQ5LWJlZmUtYmY2YzYwM2NiY2MwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA1VDIyMjkwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk3YjE4MTBkMGU0YmIxNTY3ZTgzMjliZGUwY2MwZmE3ZThjNjJmZjNmODU1NjJkOTk2Yjc2MTdiMGVjM2ZjZTgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.sKMa-HNzWtOV3EB19-x3iMDlKqSMJ42GjvSj8qi_wCw)
Now I am trying to upgrade to 0.76.0 but the tool still showing the 0.74 deps only, After looking at this url https://react-native-community.github.io/upgrade-helper/?from=0.74.2&to=0.76.2&package=com.myfinancebuddy&name=MyFinanceBuddy
I ran this command
npx @rnx-kit/align-deps [email protected] --verbose
but it still shows the 0.74 deps, please see below screenshot of the terminal.
![image](https://private-user-images.githubusercontent.com/26309938/386988459-3f21e487-8fc9-438b-9d31-b4740e76c9d9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg3OTQ4NDAsIm5iZiI6MTczODc5NDU0MCwicGF0aCI6Ii8yNjMwOTkzOC8zODY5ODg0NTktM2YyMWU0ODctOGZjOS00MzhiLTlkMzEtYjQ3NDBlNzZjOWQ5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA1VDIyMjkwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM2ZWJkMzY4ZjRkMWI2OTEzYWE2NTI1OTFmZDQ5ZjQ0ODdhYWFhNDRjYTBmMzA2ZWNjYjZlYWNhMmJhZjMyZGYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Uyrnj4lC8AE9uiTfnSJcxmmYr4TvwqRSoWrqaCNMToo)
![image](https://private-user-images.githubusercontent.com/26309938/386988617-8be5a50b-5058-4eca-8c39-6f559264e7cc.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg3OTQ4NDAsIm5iZiI6MTczODc5NDU0MCwicGF0aCI6Ii8yNjMwOTkzOC8zODY5ODg2MTctOGJlNWE1MGItNTA1OC00ZWNhLThjMzktNmY1NTkyNjRlN2NjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA1VDIyMjkwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQzYjUyZTJhNzczNTJjYTQ1NTgxZWIzMjMxNDFjYjlhODNiZWUxMjRiMmY5MmVlODA2MmRiYjM4YzM5NDQzNWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Nn-dTwyYcYlBmOoMJRLMsfttxM7lCGWk0xCLgY6akV8)
I also tried to install latest version of the toolkit "@rnx-kit/align-deps": "^3.0.2" and ran
but still same issue, I think I am missing something simple here, please help and thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions