5
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

エラー時:Invariant Violation: Tried to register two views with the same name RNCSafeAreaProvider

Posted at

複数回、expoで上記エラーになった。
毎回検索するのが少し面倒なので解決法をメモさせてもらう。

情報元はこちらです。(ありがとうございます。🙏)
https://github.com/th3rdwave/react-native-safe-area-context/issues/110

remove react-native-safe-area-context from your package.json
run yarn or npm install
run expo install react-native-safe-area-context

5
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?