본문 바로가기
JavaScript/React

[RN] expo is out of date uninstall and run again to upgrade

by 혀나Lee 2019. 10. 2.

Create React Native App (이하, CRNA)를 사용하여 프로젝트 생성 후 실행시킬때 ios simulator 에서 아래와 같이 에러가 나는 경우가 있다.

 

> 시뮬레이터 에러

"There was a problem loading the requested app. It looks liek you may be using a LAN URL. Make sure your device is on the same network as the server or try using a tunnel."

> 터미널 에러

"expo is out of date uninstall and run again to upgrade"

 

결국엔 시뮬레이터에서 사용중인 expo의 버전이 맞지 않으니 업그레이드 하라는 말이다.

 

시뮬레이터 에러로 검색하면 eject 에서 expoKit 버전을 업그레이드하라는 답이 많았다.

 

근데 이 방법 모두 실패했고, 아래처럼 시뮬레이터에 기록된 정보를 지우니 깔끔하게 해결됐다.

 

해결방법

시뮬레이터 기록 지우기 (https://stackoverflow.com/questions/54251369/expo-is-out-of-date-uninstall-and-run-again-to-upgrade)

 

 

expo is out of date uninstall and run again to upgrade

when running my app on ios simulator, I am getting the following error This version of the Expo app is out of date. Uninstall the app and run again to upgrade. Here is how I tried to upgrade expo-...

stackoverflow.com

"Erase All Content and Settings" 기능을 통해 Simulator에 설치 됐던 expo를 지우고 다시 "npm start"를 통해 프로젝트를 실행하면 simulator에 expo를 새로 설치하기 때문에 위의 에러가 해결된다.

댓글