안녕하세요 튜터님. 윈도우 이용자입니다 ㅠㅠ
2-2주차에서 expo 사용에 많은 어려움이 있어 새로 설치해보기도 하고, 여러 Q&A를 찾아서 어느정도 해결이 되어가고 있는데,
2-2주차 교육영상 31:37 에서와 같이 expo start를 입력했을 때, expo 홈페이지로 연결이 되지 않습니다.
계정 로그인도 잘 되어있는데 계속 진행이 안되네요...
캡처처럼 실시한 상태인데, 어떤 점이 문제인지 잘 모르겠습니다 ㅠㅠ
작성한 코드 및 에러 메세지
Microsoft Windows [Version 10.0.22000.978]
(c) Microsoft Corporation. All rights reserved.
C:\Users\jhedi\OneDrive\바탕 화면\sparta.study>expo init
Migrate to using:
› npx create-expo-app --template
√ What would you like to name your app? ... sparta-myhoneytip-hoon
√ Choose a template: » blank a minimal app as clean as an empty canvas
√ Downloaded template.
� Using Yarn to install packages. Pass --npm to use npm instead.
× Something went wrong installing JavaScript dependencies. Check your yarn logs. Continuing to initialize the app.
✅ Your project is ready!
To run your project, navigate to the directory and run one of the following yarn commands.
- cd sparta-myhoneytip-hoon
- yarn start # you can open iOS, Android, or web from here, or run them directly with the commands below.
- yarn android
- yarn ios # requires an iOS device or macOS for access to an iOS simulator
- yarn web
Unable to initialize git repo. `git` not in PATH.
C:\Users\jhedi\OneDrive\바탕 화면\sparta.study>cd sparta-myhoneytip-hoon
C:\Users\jhedi\OneDrive\바탕 화면\sparta.study\sparta-myhoneytip-hoon>expo start
Starting project at C:\Users\jhedi\OneDrive\바탕 화면\sparta.study\sparta-myhoneytip-hoon
Unable to find expo in this project - have you run yarn / npm install yet?
C:\Users\jhedi\OneDrive\바탕 화면\sparta.study\sparta-myhoneytip-hoon>yarn add @react-navigation/stack
yarn add v1.22.19
warning ..\..\..\..\package.json: No license field
info No lockfile found.
[1/4] Resolving packages...
warning expo > uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
warning expo > expo-constants > uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
warning expo > expo-file-system > uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
warning expo > @expo/cli > uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
warning react-native > react-native-codegen > jscodeshift > micromatch > snapdragon > source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
warning react-native > react-native-codegen > jscodeshift > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
warning react-native > react-native-codegen > jscodeshift > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
warning react-native > react-native-codegen > jscodeshift > micromatch > snapdragon > source-map-resolve > source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
warning react-native > @react-native-community/cli > @react-native-community/cli-plugin-metro > metro > metro-minify-uglify > uglify-es@3.3.9: support for ECMAScript is superseded by `uglify-js` as of v3.13.0
[2/4] Fetching packages...
error react-native@0.69.5: The engine "node" is incompatible with this module. Expected version ">=14". Got "12.19.1"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
C:\Users\jhedi\OneDrive\바탕 화면\sparta.study\sparta-myhoneytip-hoon>yarn
yarn install v1.22.19
warning ..\..\..\..\package.json: No license field
info No lockfile found.
[1/4] Resolving packages...
warning expo > uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
warning expo > expo-constants > uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
warning expo > expo-file-system > uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
warning expo > @expo/cli > uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
warning react-native > react-native-codegen > jscodeshift > micromatch > snapdragon > source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
warning react-native > react-native-codegen > jscodeshift > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
warning react-native > react-native-codegen > jscodeshift > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
warning react-native > react-native-codegen > jscodeshift > micromatch > snapdragon > source-map-resolve > source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
warning react-native > @react-native-community/cli > @react-native-community/cli-plugin-metro > metro > metro-minify-uglify > uglify-es@3.3.9: support for ECMAScript is superseded by `uglify-js` as of v3.13.0
[2/4] Fetching packages...
error react-native@0.69.5: The engine "node" is incompatible with this module. Expected version ">=14". Got "12.19.1"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
C:\Users\jhedi\OneDrive\바탕 화면\sparta.study\sparta-myhoneytip-hoon>expo install
The expo package was found in your package.json but we couldn't resolve the Expo SDK version. Run npm install and then try this command again.
C:\Users\jhedi\OneDrive\바탕 화면\sparta.study\sparta-myhoneytip-hoon>npm install
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated uglify-es@3.3.9: support for ECMAScript is superseded by `uglify-js` as of v3.13.0
npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN notsup Unsupported engine for react-native@0.69.5: wanted: {"node":">=14"} (current: {"node":"12.19.1","npm":"6.14.8"})
npm WARN notsup Not compatible with your version of node/npm: react-native@0.69.5
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^2.3.2 (node_modules\jest-haste-map\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"})
added 988 packages from 619 contributors and audited 990 packages in 27.544s
55 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
C:\Users\jhedi\OneDrive\바탕 화면\sparta.study\sparta-myhoneytip-hoon>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\jhedi\OneDrive\바탕 화면\sparta.study\sparta-myhoneytip-hoon
Starting Metro Bundler
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█ ▄▄▄▄▄ ██▄▄ ▀▄██▄█ ▄▄▄▄▄ █
█ █ █ █▀▄ █▀ ▀ █ █ █ █
█ █▄▄▄█ █▄▀ █▄▀▄█▀█ █▄▄▄█ █
█▄▄▄▄▄▄▄█▄▀▄█ █▄█ █▄▄▄▄▄▄▄█
█ ▄▀█▀▄▄▄▀▄ █▄ █ ███ ▄▀▀██
█▀▀█▄ ▀▄ █▄▀ ▄█▀ ▄▄██▄▄█▄ █
█▀ █▀▄▄ ▄ █ ▀ █ ▄███▀ ██
█ █▄▀ ▀▄▀▄▀██ ▄▀ █▀ ▄█▄ █
█▄█▄███▄█ ▄▀▀▀▄▀█ ▄▄▄ ▄▄█
█ ▄▄▄▄▄ █ ▄▄ ▄ █ █▄█ ███▄█
█ █ █ ███▄▀▀ █▄ ▄ ▄ ▄▀▀█
█ █▄▄▄█ █▀▄▀█ █▀ ▀▀██▄█ █
█▄▄▄▄▄▄▄█▄█▄▄██▄▄▄▄█▄▄███▄█
› Metro waiting on exp://192.168.35.129: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
√ 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
× Failed to install react-native-web@~0.18.7, react-dom with error: npm exited with non-zero code: 4294963238
npm exited with non-zero code: 4294963238