web-dev-qa-db-ja.com

インバリアント違反:requireNativeComponent: "RNCSafeAreaProvider"がUIManagerに見つかりませんでした

THIS IS MY ERROR

誰かがこの問題を手伝ってくれる?

12
da coconut

アプリの実行を停止します。 npx pod-install iosを実行します。次に、アプリを再構築します。これでうまくいきました。

expo update残念ながら私にとってはうまくいきませんでした:(

実行中yarn start私のコンソールで、私は得ました:

Some of your project's dependencies are not compatible with currently installed expo package version:
 - react-native-reanimated - expected version range: ~1.7.0 - actual version installed: ^1.9.0
 - react-native-screens - expected version range: ~2.2.0 - actual version installed: ^2.8.0
 - react-native-safe-area-context - expected version range: 0.7.3 - actual version installed: ^3.0.2
 - @react-native-community/masked-view - expected version range: 0.1.6 - actual version installed: ^0.1.10
Your project may not work correctly until you install the correct versions of the packages.
To install the correct versions of these packages, please run: expo install [package-name ...]

私は走ったexpo install <package>@<version>表示された各パッケージについて、現在動作しています。

0
justindao