Я установил экспо, используя руководство facebook, запустив
npm install -g expo-cli
npm install react-navigation
expo start
Однако он все еще говорит
npm WARN @react-native-community/[email protected] requires a peer of react-native@>=0.57 <0.60 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @types/googlemaps@^3.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @types/markerclustererplus@^2.1.29 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @types/react@^15.0.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react-native@^0.44.1 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react-native@>=0.57 <0.60 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
Я попытался удалить папку node_modules и перезапустить установку npm в каталоге моего проекта.
Он по-прежнему говорит, что реактивный родной не найден, хотя работает
react-native -v
в командной строке показывает
react-native-cli: 2.0.1
react-native: 0.60.3





На самом деле у вас есть только установка expo-cli, а не реакция на собственный cli, даже если у вашего package.json есть react-native, он недоступен из вашего cli. поэтому вам нужно установить react-native-cli отдельно, чтобы вы могли получить доступ к react-native.
npm install –g react-native-cli
Какой у тебя
package.json?