본문 바로가기
front-end/React Native

[react-native] 개발환경설정중 발생한 에러 모음

by -제이리 2022. 12. 2.
728x90
320x100

 

cocoapods 설치 에러 해결하기

 

[react-native]ERROR: Error installing cocoapods:

발생상황: react native 개발환경 셋업중, cocoapods설치 중.. sudo gem install cocoapods Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5 ERROR: Error installing cocoapods: ERROR: Failed to build g

jaylee-log.tistory.com

 

 

ruby 버전 에러 해결하기

 

(mac) ruby 버전 업데이트 하기

문제상황 react-native init을 했는데 error Your Ruby version is 2.6.10, but your Gemfile specified 2.7.5 이런 오류가 났다. 찾아보니 맥에선 기본으로 2.6.10버전이 설치되어 있다고하는데 react native와 맞지 않는 버

jaylee-log.tistory.com

 

npx react-native init projectName 설치 중 만난 에러 해결하기

 

[react-native]error warn Multiple Podfiles were found

발생상황 터미널에 npx react-native init projectName을 입력하고 새로운 에러와 마주쳤다..^^ ✖ Installing CocoaPods dependencies (this may take a few minutes) error warn Multiple Podfiles were found: ios/Podfile,vendor/bundle/ruby/2.7

jaylee-log.tistory.com

 

npx react-native run-android 에러 해결하기

 

[react-native] npx react-native run-android 에러 해결하기

문제상황 npx react-native run-android을 실행하려 하는데 에러가.. error Failed to launch emulator. Reason: No emulators found as an output of `emulator -list-avds`. error Failed to start the app. Error: spawnSync adb ENOENT 문제원인 andro

jaylee-log.tistory.com

728x90
320x100

댓글