커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
모바일연동이 안돼요!
[왕초보] 나만의 수익성 앱, 앱개발 종합반
2주차
북마크
소*민
댓글
16
추천
0
조회수
44
조회수
44
답변 완료


웹으로는 작동이 잘되는데 와이파이 연결 후 핸드폰으로 진행할려고하면 에러가 나네요..

지금까지 문의는 계속 웹으로 해서 했고 오늘 핸드폰으로 최종확인 후 숙제제출할려고하니 이런에러가 나요

구글링 했는데 마땅히 해결책을 모르겠네요



스파르타 즉문즉답




작성한 코드 및 에러 메세지

Web Bundling complete 18369ms

Web Bundling complete 713ms

Web Bundling complete 510ms

› Stopping Webpack server

› Stopped server

PS C:\Users\asdas\OneDrive\바탕 화면\study\sparta-myhoneytip-so> expo start


This command is being executed with the global Expo CLI. Learn more: https://blog.expo.dev/the-new-expo-cli-f4250d8e3421  ;

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

› npx expo start


Starting project at C:\Users\asdas\OneDrive\바탕 화면\study\sparta-myhoneytip-so

Some dependencies are incompatible with the installed expo package version:

 - react-dom - expected version: 18.0.0 - actual version installed: 18.2.0

Your project may not work correctly until you install the correct versions of the packages.

To install the correct versions of these packages, please run: expo doctor --fix-dependencies,

or install individual packages by running expo install [package-name ...]

Starting Metro Bundler

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

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

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

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

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

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

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

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

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

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

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

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

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

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


› Metro waiting on exp://192.168.35.179:19000

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


› Press a │ open Android

› 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

› Reloading apps

Android Bundling failed 72ms

Unable to resolve module ./pages/MainPage from C:\Users\asdas\OneDrive\바탕 화면\study\sparta-myhoneytip-so\App.js:     


None of these files exist:

 * pages\MainPage(.native|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx|.android.js|.native.js|.js|.android.jsx|.native.jsx|.jsx|.android.json|.native.json|.json)

 * pages\MainPage\index(.native|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx|.android.js|.native.js|.js|.android.jsx|.native.jsx|.jsx|.android.json|.native.json|.json)

 1 | import React from 'react'

> 2 | import MainPage from './pages/MainPage';

  |            ^

 3 | import AboutPage from './pages/AboutPage';

 4 |

 5 | export default function App(){





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