From d16091c87f3a95e85432e6e3e0b78120583e6647 Mon Sep 17 00:00:00 2001 From: Aman Mittal Date: Fri, 6 Sep 2024 01:20:21 +0530 Subject: [PATCH 1/2] docs: Update outdated Expo command --- website/docs/12.x/docs/guides/troubleshooting.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/12.x/docs/guides/troubleshooting.mdx b/website/docs/12.x/docs/guides/troubleshooting.mdx index cacbe58f8..e723864d4 100644 --- a/website/docs/12.x/docs/guides/troubleshooting.mdx +++ b/website/docs/12.x/docs/guides/troubleshooting.mdx @@ -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, use `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). From b038dbb4e0cf14e5421dfee79377669a952166b1 Mon Sep 17 00:00:00 2001 From: Aman Mittal Date: Fri, 6 Sep 2024 01:25:45 +0530 Subject: [PATCH 2/2] Fix typo --- website/docs/12.x/docs/guides/troubleshooting.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/12.x/docs/guides/troubleshooting.mdx b/website/docs/12.x/docs/guides/troubleshooting.mdx index e723864d4..fafab722e 100644 --- a/website/docs/12.x/docs/guides/troubleshooting.mdx +++ b/website/docs/12.x/docs/guides/troubleshooting.mdx @@ -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, use `npx expo install --fix` in your project to validate and install compatible versions of these dependencies. +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).