커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
expo start 문제
[왕초보] 나만의 수익성 앱, 앱개발 종합반 v5
4주차
북마크
신*일
댓글
4
추천
0
조회수
17
조회수
17
답변 완료

* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.

* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.


expo-application을 설치하려하였는데 문제가 생기면서 expo start가 잘 안됩니다.






작성한 코드 및 에러 메세지

오류 발생 시, 작성한 코드 전체› 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


› Dev Tools Web UI has been removed. Learn more: https://blog.expo.dev/sunsetting-the-web-ui-for-expo-cli-ab12936d2206› Stopped server


C:\Users\sdiko\OneDrive\바탕 화면\sparta_study\sst-myneo-sdi>expo doctor --fix-dependencies 
WARNING: We recommend using PowerShell or Bash via WSL 2 for development with expo-cli on Windows. You may encounter issues using cmd.exe.


× Dependency tree validation for expo-modules-autolinking failed. This validation is only available on Node 16+ / npm 
8.
× Dependency tree validation for @expo/config-plugins failed. This validation is only available on Node 16+ / npm 8.  
× Dependency tree validation for @expo/prebuild-config failed. This validation is only available on Node 16+ / npm 8. 
× Dependency tree validation for @unimodules/core failed. This validation is only available on Node 16+ / npm 8.      
× Dependency tree validation for @unimodules/react-native-adapter failed. This validation is only available on Node 16+ / npm 8.
× Dependency tree validation for react-native-unimodules failed. This validation is only available on Node 16+ / npm 8.
Some dependencies are incompatible with the installed expo package version:
 - react-dom - expected version: 18.1.0 - actual version installed: 18.2.0


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 install


Installing 1 SDK 47.0.0 compatible native module using npm.
> npm install
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
updated 2 packages and audited 1139 packages in 3.833s




63 packages are looking for funding
  run `npm fund` for details


found 1 high severity vulnerability
  run `npm audit fix` to fix them, or `npm audit` for details




C:\Users\sdiko\OneDrive\바탕 화면\sparta_study\sst-myneo-sdi>npx expo start
(node:20700) UnhandledPromiseRejectionWarning: Error: Cannot find module 'fs/promises'
Require stack:
- C:\Users\sdiko\OneDrive\바탕 화면\sparta_study\sst-myneo-sdi\node_modules\@expo\cli\build\src\start\doctor\typescript\TypeScriptProjectPrerequisite.js
- C:\Users\sdiko\OneDrive\바탕 화면\sparta_study\sst-myneo-sdi\node_modules\@expo\cli\build\src\start\startAsync.js   
- C:\Users\sdiko\OneDrive\바탕 화면\sparta_study\sst-myneo-sdi\node_modules\@expo\cli\build\src\start\index.js        
- C:\Users\sdiko\OneDrive\바탕 화면\sparta_study\sst-myneo-sdi\node_modules\@expo\cli\build\bin\cli
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:831:15)
    at Function.Module._load (internal/modules/cjs/loader.js:687:27)
    at Module.require (internal/modules/cjs/loader.js:903:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (C:\Users\sdiko\OneDrive\바탕 화면\sparta_study\sst-myneo-sdi\node_modules\@expo\cli\build\src\start\doctor\typescript\TypeScriptProjectPrerequisite.js:5:40)
    at Module._compile (internal/modules/cjs/loader.js:1015:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1035:10)
    at Module.load (internal/modules/cjs/loader.js:879:32)
    at Function.Module._load (internal/modules/cjs/loader.js:724:14)
    at Module.require (internal/modules/cjs/loader.js:903:19)
(node:20700) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:20700) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.


C:\Users\sdiko\OneDrive\바탕 화면\sparta_study\sst-myneo-sdi>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\sdiko\OneDrive\바탕 화면\sparta_study\sst-myneo-sdi
Starting Metro Bundler
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█ ▄▄▄▄▄ █▄▄▄ ▀ ██ █ ▄▄▄▄▄ █
█ █   █ ██▄▀ █ ▀▄▄█ █   █ █
█ █▄▄▄█ ██▀▄ ▄ ██▀█ █▄▄▄█ █
█▄▄▄▄▄▄▄█ ▀▄█ ▀ ▀ █▄▄▄▄▄▄▄█
█▄ █ ▄▀▄▀█▄▀█▄██▀ █▄█▀█▀▀▄█
█ ▀█▄█▀▄  ▄██▄█ ▄▀▀███▄▀▀ █
█ ▄▄█▀▄▄ ▀▄ █▀█▄ █ ▄▀▀█▀ ██
█ ▄▀  ▀▄▄▄▄██▀▄█ ▄▀ ██▄▀  █
█▄█▄▄██▄▄ ▄  ▄▄ █ ▄▄▄  ▄▀▄█
█ ▄▄▄▄▄ ███▀▀▄  █ █▄█ ███ █
█ █   █ █ ▄ ▄ ██▄ ▄  ▄ █▀▀█
█ █▄▄▄█ █▀▀   █▄ ▄█▀▀▄█   █
█▄▄▄▄▄▄▄█▄▄█▄██▄▄▄▄█▄▄███▄█


› Metro waiting on exp://192.168.0.14: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


 *  History restored 


Microsoft Windows [Version 10.0.18363.476]
(c) 2019 Microsoft Corporation. All rights reserved.


C:\Users\sdiko\OneDrive\바탕 화면\sparta_study\sst-myneo-sdi>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\sdiko\OneDrive\바탕 화면\sparta_study\sst-myneo-sdi
Starting Metro Bundler
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█ ▄▄▄▄▄ █▄▄▄ ▀ ██ █ ▄▄▄▄▄ █
█ █   █ ██▄▀ █ ▀▄▄█ █   █ █
█ █▄▄▄█ ██▀▄ ▄ ██▀█ █▄▄▄█ █
█▄▄▄▄▄▄▄█ ▀▄█ ▀ ▀ █▄▄▄▄▄▄▄█
█▄ █ ▄▀▄▀█▄▀█▄██▀ █▄█▀█▀▀▄█
█ ▀█▄█▀▄  ▄██▄█ ▄▀▀███▄▀▀ █
█ ▄▄█▀▄▄ ▀▄ █▀█▄ █ ▄▀▀█▀ ██
█ ▄▀  ▀▄▄▄▄██▀▄█ ▄▀ ██▄▀  █
█▄█▄▄██▄▄ ▄  ▄▄ █ ▄▄▄  ▄▀▄█
█ ▄▄▄▄▄ ███▀▀▄  █ █▄█ ███ █
█ █   █ █ ▄ ▄ ██▄ ▄  ▄ █▀▀█
█ █▄▄▄█ █▀▀   █▄ ▄█▀▀▄█   █
█▄▄▄▄▄▄▄█▄▄█▄██▄▄▄▄█▄▄███▄█


› Metro waiting on exp://192.168.0.14: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

와 에러 메시지를 첨부해 주세요.

Tip 1) </> 아이콘을 눌러 코드박스를 만들어 보세요.

Tip 2) Ctrl+A(맥의 경우 Command+A) 단축키로 코드를 한 번에 선택할 수 있어요!




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