리액트 네이티브(React Native)
cli doctor 로 이슈 체크하기
react-native-community/cli doctor
PS C:\dev\app> npx @react-native-community/cli doctor
Common
✓ Node.js - Required to execute JavaScript code
✖ yarn - Required to install NPM dependencies
- Version found: N/A
- Version supported: >= 1.10.x
● Metro - Metro Bundler is not running
Android
✖ Adb - No devices and/or emulators connected. Please create emulator with Android Studio or connect Android device.
✓ JDK - Required to compile Java code
✓ Android Studio - Required for building and installing your app on Android
✓ ANDROID_HOME - Environment variable that points to your Android SDK installation
✓ Gradlew - Build tool required for Android builds
✖ Android SDK - Required for building and installing your app on Android
- Versions found: 30.0.3, 33.0.0, 35.0.0
- Version supported: 34.0.034.0.0
Errors: 3
Warnings: 1
Usage
› Press f to try to fix issues.
› Press e to try to fix errors.
› Press w to try to fix warnings.
› Press Enter to exit.
>> f (선택)
Attempting to fix 4 issues...
Common
✖ yarn
Read more about how to download yarn at https://yarnpkg.com/docs/install
✖ Metro
Could not start the bundler. Please run "npx react-native start" command manually.
Android
✖ Adb
√ Select the device / emulator you want to use » Emulator Pixel_8_Pro_API_35 (disconnected)
✔ Adb
✔ Android SDK configured. You might need to restart your PC for all changes to take effect.
PS C:\dev\app> npx @react-native-community/cli doctor
Common
✓ Node.js - Required to execute JavaScript code
✓ yarn - Required to install NPM dependencies
● Metro - Metro Bundler is not running
Android
✓ Adb - Required to verify if the android device is attached correctly
✓ JDK - Required to compile Java code
✓ Android Studio - Required for building and installing your app on Android
✓ ANDROID_HOME - Environment variable that points to your Android SDK installation
✓ Gradlew - Build tool required for Android builds
✖ Android SDK - Required for building and installing your app on Android
- Versions found: 30.0.3, 33.0.0, 35.0.0
- Version supported: 34.0.034.0.0
Errors: 1
Warnings: 1
Usage
› Press f to try to fix issues.
› Press e to try to fix errors.
› Press w to try to fix warnings.
› Press Enter to exit.
>>> f (선택)
Attempting to fix 2 issues...
Common
✖ Metro
Could not start the bundler. Please run "npx react-native start" command manually.
Android
✔ Android SDK configured. You might need to restart your PC for all changes to take effect.
PS C:\dev\app>
'IT' 카테고리의 다른 글
리액트 네이티브 앱 개발 #1 React native Expo 프로젝트 만들기 (5) | 2024.11.09 |
---|---|
C# 크롬(크로미움-Chromium) 웹 브라우저 만들기 (7) | 2024.11.09 |
아파치웹서버 OpenSSL CS 인증서 설치 - PHP CA 오류 SSL certificate problem: (6) | 2024.09.07 |
아파치 HTTP 서버와 Nginx(엔진엑스) 웹서버 비교 (2) | 2024.09.05 |
윈도우 패키지 관리도구 Chocolatey(Choco) 설치 (3) | 2024.08.18 |