2023. 12. 26. 14:32

unable to load script. make sure you're either running metro (run 'npx react-native start')

이 에러가 떴을 때 다시 로딩 해야 한다

 

npx react-native start

 

r - reload app 

 

이거를 선택해야 한다

 

위의 것을 시작했는데 아래와 같은 메세지가 뜬다면

 

No apps connected. Sending "reload" to all React Native apps failed

 

npx react-native start --reset-cache

 

--reset-cache 옵션을 넣어준다