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

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

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


아래와 같이 나왔는데 뭔가 잘못된거 같습니다 확인부탁드립니다!






✔ Created native projects | gitignore skipped
✔ Added Metro config
✔ Updated package.json and added index.js entry point for iOS and Android
› Removed "main": "node_modules/expo/AppEntry.js" from package.json because we recommend using index.js as main instead

› Installing using Yarn
Using node to generate images. This is much slower than using native packages.
› Optionally you can stop the process and try again after successfully running `npm install -g sharp-cli`.

» android: userInterfaceStyle: Install expo-system-ui in your project to enable this feature.
✔ Config synced
  CocoaPods CLI not found in your PATH, installing it now.
› Attempting to install CocoaPods CLI with Gem
Fetching i18n-1.12.0.gem
Fetching tzinfo-2.0.5.gem
Fetching zeitwerk-2.6.6.gem
Fetching nap-1.1.0.gem
Fetching fuzzy_match-2.0.4.gem
Fetching concurrent-ruby-1.2.0.gem
Fetching activesupport-6.1.7.2.gem
Fetching httpclient-2.8.3.gem
Fetching algoliasearch-1.27.5.gem
Fetching ffi-1.15.5.gem
Fetching ethon-0.16.0.gem
Fetching typhoeus-1.4.0.gem
Fetching netrc-0.11.0.gem
Fetching public_suffix-4.0.7.gem
Fetching addressable-2.8.1.gem
Fetching cocoapods-core-1.11.3.gem
Fetching claide-1.1.0.gem
Fetching cocoapods-deintegrate-1.0.5.gem
Fetching cocoapods-downloader-1.6.3.gem
Fetching cocoapods-plugins-1.0.0.gem
Fetching cocoapods-search-1.0.1.gem
Fetching cocoapods-trunk-1.6.0.gem
Fetching cocoapods-try-1.2.0.gem
Fetching molinillo-0.8.0.gem
Fetching atomos-0.1.3.gem
Fetching colored2-3.1.2.gem
Fetching nanaimo-0.3.0.gem
Fetching rexml-3.2.5.gem
Fetching xcodeproj-1.22.0.gem
Fetching escape-0.0.4.gem
Fetching fourflusher-2.3.1.gem
Fetching gh_inspector-1.1.3.gem
Fetching cocoapods-1.11.3.gem
Fetching ruby-macho-2.5.1.gem
› Failed to install CocoaPods CLI with Gem
Failed to install CocoaPods CLI with gem (recommended)
└─ Cause: gem exited with non-zero code: 1
› Attempting to install CocoaPods CLI with Homebrew
==> Homebrew is run entirely by unpaid vo
  https://github.com/Homebrew/brew#donations

==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> New Formulae
ancient
clang-build-analyzer
m1ddc
mdless
xcdiff
zsh-autopair

You have 1 outdated formula installed.
You can upgrade it with brew upgrade
or list it with brew outdated.

==> Fetching dependencies for cocoapods: libyaml and ruby
==> Fetching libyaml
==> Downloading https://ghcr.io/v2/homebr
==> Downloading https://ghcr.io/v2/homebr
==> Downloading from https://pkg-containe
==> Fetching ruby
==> Downloading https://ghcr.io/v2/homebr
==> Downloading https://ghcr.io/v2/homebr
==> Downloading from https://pkg-containe
==> Fetching cocoapods
==> Downloading https://ghcr.io/v2/homebr
==> Downloading https://ghcr.io/v2/homebr
==> Downloading from https://pkg-containe
==> Installing dependencies for cocoapods: libyaml and ruby
==> Installing cocoapods dependency: 
==> Pouring libyaml--0.2.5.arm64_ventura.
🍺  /opt/homebrew/Cellar/libyaml/0.2.5: 10 files, 351.3KB
==> Installing cocoapods dependency: 
==> Pouring ruby--3.2.0.arm64_ventura.bot
🍺  /opt/homebrew/Cellar/ruby/3.2.0: 16,574 files, 46.8MB
==> Installing cocoapods
==> Pouring cocoapods--1.11.3_1.arm64_ven
🍺  /opt/homebrew/Cellar/cocoapods/1.11.3_1: 13,476 files, 27.9MB
==> Running `brew cleanup cocoapods`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
1.11.3
› Successfully installed CocoaPods CLI with Homebrew
✔ Installed CocoaPods CLI.
⚠️  Something went wrong running `pod install` in the `ios` directory.
Command `pod install` failed.
└─ Cause: Invalid `Podfile` file: 
[!] Invalid `RNGestureHandler.podspec` file: undefined method `exists?' for File:Class.

 #  from /Users/seonyeongan/Documents/Dev/sparta-study/sparta-myhoneytip-sy2/node_modules/react-native-gesture-handler/RNGestureHandler.podspec:5
 #  -------------------------------------------
 #  
 >  isUserApp = File.exists?(File.join(__dir__, "..", "..", "node_modules", "react-native", "package.json"))
 #  if isUserApp
 #  -------------------------------------------
.

 #  from /Users/seonyeongan/Documents/Dev/sparta-study/sparta-myhoneytip-sy2/ios/Podfile:14
 #  -------------------------------------------
 #    use_expo_modules!
 >    config = use_native_modules!
 #  
 #  -------------------------------------------




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