docs: Update outdated Expo command in Troubleshooting guide (#1660)

This commit is contained in:
Aman Mittal
2024-09-06 03:15:56 +05:30
committed by GitHub
parent 345be3fe0a
commit e6497d28b5
@@ -10,7 +10,7 @@ Check that you have matching versions of core dependencies:
- React
- React Test Renderer
React Native uses different versioning scheme from React, you can use [React Native Upgrade Helper](https://react-native-community.github.io/upgrade-helper/) to find the correct matching between React Native & React versions. In case you use Expo, you should use dependency versions recommended by them and set by `expo upgrade` command.
React Native uses different versioning scheme from React, you can use [React Native Upgrade Helper](https://react-native-community.github.io/upgrade-helper/) to find the correct matching between React Native & React versions. In case you use Expo, run `npx expo install --fix` in your project to validate and install compatible versions of these dependencies.
React Test Renderer usually has same major & minor version as React, as they are closely related and React Test Renderer is part of [React monorepo](https://github.com/facebook/react).