teratail header banner
teratail header banner
質問するログイン新規登録

回答編集履歴

2

内容編集

2020/08/20 13:33

投稿

tomaa
tomaa

スコア84

answer CHANGED
@@ -1,9 +1,24 @@
1
1
  自己解決できましたので、行った方法を載せます。
2
2
 
3
+ [react navigation](https://reactnavigation.org/docs/hello-react-navigation)のインストール
4
+
5
+ `npm install @react-navigation/native`
6
+
7
+ `expo install react-native-gesture-handler react-native-reanimated react-native-screens react-native-safe-area-context @react-native-community/masked-view`
8
+
9
+ `npm install @react-navigation/stack`
10
+
3
- package.jsonファイルで
11
+ package.json修正
4
- expoとreact-nativeのバージョンを下げて、npmをインストールし直すと通常のシュミレーター表示となりました。
5
- ```ここに言語を入力
12
+ ```Json
6
13
  expo : 38.0.8 → 37.0.0
7
14
  react-nativ : 38.0.2 →37.0.1
8
15
  ```
16
+ nodeの再インストール
9
- `npm install`
17
+ `npm install`
18
+
19
+ こちらのエラー対応のため、expoのupdate
20
+ ```ここに言語を入力
21
+ Invariant Violation: requireNativeComponent: "RNCSafeAreaProvider" was not found in the UIManager.
22
+
23
+ ```
24
+ `expo update`

1

内容編集

2020/08/20 13:33

投稿

tomaa
tomaa

スコア84

answer CHANGED
@@ -5,4 +5,5 @@
5
5
  ```ここに言語を入力
6
6
  expo : 38.0.8 → 37.0.0
7
7
  react-nativ : 38.0.2 →37.0.1
8
- ```
8
+ ```
9
+ `npm install`