오티스의개발일기

ERROR Invariant Violation: requireNativeComponent: "RNSScreen" was not found in the UIManager.에러 해결 본문

에러 모음/react-native

ERROR Invariant Violation: requireNativeComponent: "RNSScreen" was not found in the UIManager.에러 해결

안되면 될때까지.. 2023. 1. 5. 17:24
728x90
npm install @react-navigation/native

 

 

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

 

cd ios

pod install


cd ..

npm run ios


npm start

 

 

 

 

모듈 받고 위 순서대로 하면 해결됨

 

참조

 

https://stackoverflow.com/questions/66921263/invariant-violation-requirenativecomponent-rnsscreen-was-not-found-in-the-ui

 

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

I am getting RNSScreen error even though I have installed all related packages and followed react-navigation guide (https://reactnavigation.org/docs/getting-started#installation) but nothing worked...

stackoverflow.com

 

728x90
Comments