[React Native] RNSScreen를 UIManager에서 찾을 수 없는 Error

    "RNSScreen" was not found in the UIManager. 에러

     

    1. 에러 메세지

    Invariant Violation: requireNativeComponent: "RNSScreen" was not found in the UIManager.

    에러를 만났다. 

     

     

    2. solution

    이 에러를 해결해 주기위해는 보통, 

    npm install @react-navigation/native react-native-reanimated \
    react-native-gesture-handler react-native-screens \
    react-native-safe-area-context @react-native-community/masked-view

     

    이 패키지들을 필요로 하므로 없는 것들을 깔아야한다. 

     

    package-lock.json에서 없는 것들을 검색하고 깔면 된다.

    댓글