*** split 왼쪽창에 스테이터스 바 설치
expo install expo-status-bar
** * 에러 창

*** 에러 메시지 확인
Cannot connect to Metro.
Try the following to fix the issue:
- Ensure that Metro is running and available on the
same network
- Ensure that your device/emulator is connected to your machine and has USB debugging enabled - run 'adb devices' to see a list of connected devices
- If you're on a physical
device connected to the same machine, run 'adb reverse tcp:8081 tcp:8081' to forward requests from your
device
- If your device is on the same Wi-Fi network, set 'Debug server host & port for device' in 'Dev settings' to your machine's IP address and the port of the
local dev server - e.g. 10.0.1.1:8081
URL: 5j-3s3.syang-lee.test-code.exp.direct:80
Error: null
at node_modules\expo\build\environment\react-native-logs.fx.js:null in warn
at node_modules\react-native\Libraries\Utilities\HMRClient.js:null in setHMRUnavailableReason
at node_modules\react-native\Libraries\Utilities\HMRClient.js:null in client.on$argument_1
at node_modules\metro-runtime\src\modules\vendor\eventemitter3.js:null in emitat node_modules\metro-runtime\src\modules\HMRClient.js:null in _ws.onerror
at node_modules\event-target-shim\dist\event-target-shim.js:null in EventTarget.prototype.dispatchEvent
at node_modules\react-native\Libraries\WebSocket\WebSocket.js:null in _eventEmitter.addListener$argument_1
at node_modules\react-native\Libraries\vendor\emitter\_EventEmitter.js:null in EventEmitter#emit
at node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:null in __callFunction
at node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:null in __guard$argument_0
at node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:null in __guard
at node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:null in callFunctionReturnFlushedQueue
1. 안드로이드 에뮬레이터 종료후 다시시작 + VSC 에서 : expo start -c --tunnel 실행
2. expo go 앱이 예뮬레이터에서 종료되어 있는 상태에서 expo start 커맨드를 시작하는 것이 올바른 동기화에 도움
*** 다음 설치후 에러
expo install react-native-gesture-handler react-native-reanimated react-native-screens react-native-safe-area-context @react-native-community/masked-view

아래의 명령을 조언하다.
adb reverse tcp:8081 tcp:8081
아래의 링크로 참고해주세요!!
위 명령어로 해결 됨 !!
다시 해결 안되어 ~~
TeamView
*** 설치 코드 하기전 ctr+c 로 expo 를 끄고 설치한뒤 다시 expo start 실행하는 방법도 있다.
'기술' 카테고리의 다른 글
RealtimeDatabase 정보확인 (0) | 2022.11.05 |
---|---|
외부DB 저장경로 생성 문제 (0) | 2022.11.04 |
백틱 에러 (0) | 2022.10.31 |
AVD 에뮬레이터 먹통일때 해결 방법 (0) | 2022.10.29 |
adb reverse error (0) | 2022.10.28 |