커뮤니티
포인트
로딩중
쿠폰
내 강의실
국비 신청 내역
수강권
증명서
숙제 피드백
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
expo 실행 오류
앱개발 종합반 - 리액트 네이티브
2주차
북마크
강*비
댓글
2
추천
0
조회수
176
조회수
176
답변 완료

expo 실행 단계에서 오류가 나요!


----------- VS Code Terminal 표시 화면


danbi@gangdanbiui-MacBook sparta-myhoneytip-dan % expo start


This command is being executed with the global Expo CLI.

To use the local CLI instead (recommended in SDK 46 and higher), run:

› npx expo start


Starting project at /Users/danbi/Desktop/sparta-study/sparta-myhoneytip-dan

Starting Metro Bundler

▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄

█ ▄▄▄▄▄ █ ██▀▀ ▀▄██ ▄▄▄▄▄ █

█ █  █ █ ▀█ ▀▄█▀█ █  █ █

█ █▄▄▄█ █▀ █▄▀▀▄▀█ █▄▄▄█ █

█▄▄▄▄▄▄▄█▄█ ▀▄█ ▀▄█▄▄▄▄▄▄▄█

█▄▄█▀▄▄▄▀▀█▄█▄▀▄▀▄██ ▀▄▄ ▄█

█▀█ ▄▄█▄▄▄ ▄█▀█▀▄▀▀ █▄ ▀██

█▀ ▀█▄ ▄ ▀█▀▄ █▄▀▄▀▄▀▀▄ ▀██

████▄██▄██ ▄ █▄█▄▄▄█▄▀ ▀███

█▄▄▄▄▄▄▄█ ▀▀▀▀▄▄ ▄▄▄ ▀ ▄▄█

█ ▄▄▄▄▄ █▀▄ ██▀▀ █▄█ ▀▀▀▀█

█ █  █ █▄▄ ▀▀█▄█▄▄ ▄▄▀ ▀▀█

█ █▄▄▄█ █▀▄ ██▀▄██▄▀█▀▀ ██

█▄▄▄▄▄▄▄█▄█████▄████▄▄▄▄▄▄█


› Metro waiting on exp://192.168.35.191:19000

› Scan the QR code above with Expo Go (Android) or the Camera app (iOS)


› Press a │ open Android

› Press i │ open iOS simulator

› Press w │ open web


› Press r │ reload app

› Press m │ toggle menu


› Press ? │ show all commands


Logs for your project will appear below. Press Ctrl+C to exit.

Started Metro Bundler

✔ It looks like you're trying to use web support but don't have the required dependencies

installed. Would you like to install react-native-web, react-dom? … yes


✔ Installed react-native-web@~0.18.7, react-dom

Starting Webpack on port 19006 in development mode.

⚠ 「wds」: transportMode is an experimental option, meaning its usage could potentially change without warning

▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄

█ ▄▄▄▄▄ █ ██▀▀ ▀▄██ ▄▄▄▄▄ █

█ █  █ █ ▀█ ▀▄█▀█ █  █ █

█ █▄▄▄█ █▀ █▄▀▀▄▀█ █▄▄▄█ █

█▄▄▄▄▄▄▄█▄█ ▀▄█ ▀▄█▄▄▄▄▄▄▄█

█▄▄█▀▄▄▄▀▀█▄█▄▀▄▀▄██ ▀▄▄ ▄█

█▀█ ▄▄█▄▄▄ ▄█▀█▀▄▀▀ █▄ ▀██

█▀ ▀█▄ ▄ ▀█▀▄ █▄▀▄▀▄▀▀▄ ▀██

████▄██▄██ ▄ █▄█▄▄▄█▄▀ ▀███

█▄▄▄▄▄▄▄█ ▀▀▀▀▄▄ ▄▄▄ ▀ ▄▄█

█ ▄▄▄▄▄ █▀▄ ██▀▀ █▄█ ▀▀▀▀█

█ █  █ █▄▄ ▀▀█▄█▄▄ ▄▄▀ ▀▀█

█ █▄▄▄█ █▀▄ ██▀▄██▄▀█▀▀ ██

█▄▄▄▄▄▄▄█▄█████▄████▄▄▄▄▄▄█


› Metro waiting on exp://192.168.35.191:19000

› Scan the QR code above with Expo Go (Android) or the Camera app (iOS)


› Webpack waiting on http://192.168.35.191:19006

› Expo Webpack (web) is in beta, and subject to breaking changes!


› Press a │ open Android

› Press i │ open iOS simulator

› Press w │ open web


› Press r │ reload app

› Press m │ toggle menu


› Press ? │ show all commands


› Open in the web browser...

› Press ? │ show all commands

Web Bundling JavaScript [============================================== ] 95%Using node to generate images. This is much slower than using native packages.

› Optionally you can stop the process and try again after successfully running `npm install -g sharp-cli`.


Web Bundling complete 38738ms

iOS Bundling complete 99681ms

iOS Bundling complete 110ms

iOS Running app on Danbi


Cannot connect to Metro.


Try the following to fix the issue:

- Ensure that Metro is running and available on the same network

- Ensure that the Metro URL is correctly set in AppDelegate


URL: 192.168.35.191:19000


Error: The operation couldn’t be completed. Socket is not connected

at node_modules/metro-runtime/src/modules/vendor/eventemitter3.js:195:15 in emit

at node_modules/metro-runtime/src/modules/HMRClient.js:50:6 in _ws.onerror

at node_modules/react-native/Libraries/WebSocket/WebSocket.js:271:8 in _eventEmitter.addListener$argument_1

at node_modules/react-native/Libraries/vendor/emitter/_EventEmitter.js:150:10 in EventEmitter#emit



------------------- Expo App 표시화면

스파르타 즉문즉답


취소
 공유
취소
댓글 0
댓글 알림
나의얼굴