React-Native/Error
-
[React-Native][Error] 리액트 네이티브에서 Gem::GemNotFoundException Error, Gem::FilePermissionError해결하기React-Native/Error 2023. 6. 6. 16:50
에러 해당 프로젝트에서 pod install을 했을때 발생한 오류입니다. 이 에러는 RubyGems가 cocoapods gem 을 찾을 수 없다는 것을 나타냅니다. 원인 1. cocoapods gem이 설치가 되어있지 않을 경우 2. cocoapods gem의 버전이 맞지 않을 경우 3. RubyGems가 cocoapods를 찾지 못하는 경우 해결방안 // 프로젝트 최상위 경로 $ bundle install $ gem install cocoapods // ios 경로 $ pod install bundle install OR gem install cocoapods 할 때 생길수 있는 오류 gem을 사용해서 문제를 해결할려고 했으나 아래와 같은 오류가 발생하였습니다. 아래의 오류는 gem의 권한에 관한 오류..
-
[React-Native][iOS][Error] Showing Recent Messages'/Users/hyeonsik/Library/Developer/Xcode/DerivedData/.../Build/Products/Debug-iphoneos/XCFrameworkIntermediates/FirebaseAnalytics/AdIdSupport/FirebaseAnalytics.framework/FirebaseAnalytics(FIRAEvent.o)' d..React-Native/Error 2023. 2. 13. 21:47
디바이스에 빌드하는 중에 빌드 실패와 같이 뜬 오류입니다. 해결방법 Xcode > 해당 프로젝트 > TARGETS > Build Settings > Build Options > Enable Bitcode를 NO로 바꿔준다. - 비트코드 란? 비트 코드는 컴파일 된 프로그램의 중간 표현입니다. 비트 코드를 포함하면 아이튠즈 커넥트에 업로드 앱은 컴파일 저장소에 연결됩니다. 비트 코드를 포함하면 애플 스토어에 앱의 새 버전을 제출할 필요 없이 미래에 앱 바이너리를 다시 최적화할 수 있고, iOS 앱의 경우 비트 코드 옵션은 선택 사항이고, watchOS 및 tvOS 앱의 비트 코드가 필수로 적용되어야 한다. - iOS Developer Library
-
[React-Native][Android][Error] Execution failed for task ':react-native-safe-area-context:generateDebugRFile'. errorReact-Native/Error 2023. 2. 9. 19:25
터미널에서 react-native run-android 할 때 에러가 발생했습니다. 해결방안 android/build.gradle allprojects { repositories { google() exclusiveContent { filter { includeGroup "com.facebook.react" } forRepository { maven { url "$rootDir/../node_modules/react-native/android" } } } } 참고 https://stackoverflow.com/a/74470449 When I try to build for production this error comes up When I try to build for production, this err..
-
[React-Native][iOS][Error] Unknown configuration whitelisted: . CocoaPods found debug and release, did you mean one of these? 해결법React-Native/Error 2023. 2. 9. 15:02
pod install 하는 과정에서 발생한 에러입니다. 해결방안 node_modules/@react-native-community/cli-platform-ios/bulid/config/index.js 파일에서 102번째 줄을 아래와 같이 바꿔주면 됩니다. let configurations = []; if(userConfig) { configurations = userConfig.configurations || []; } 참고 https://stackoverflow.com/questions/74280201/unknown-configuration-whitelisted-cocoapods-found-debug-and-release-did-you Unknown configuration whitelisted: . ..
-
[React-Native][Error] Firebase App named '프로젝트' already exists ErrorReact-Native/Error 2023. 2. 4. 21:19
리프레쉬하는 과정에서 Firebase에 관한 에러가 발생했습니다. 해결방안 if (!Firebase.apps.length) { const app = Firebase.initializeApp({}); } else { Firebase.app(); } 참고 https://stackoverflow.com/a/48686803/19262130 Firebase App named '[DEFAULT]' already exists (app/duplicate-app) Hi I am trying to unit test while developing a simple web with AngularJS + Firebase, but I have a problem defining the spec and trying the test r..
-
[React-Native][iOS][Error] [!] No podspec found for RNCharts in ../node_modules/react-native-charts-wrapperReact-Native/Error 2023. 1. 9. 22:31
pod install 하는 과정에서 'react-native-charts-wrapper'에서 'RNCharts'를 찾을 수 없다는 에러가 발생했습니다. 해결방안 ios/Podfile pod 'RNCharts', :path => '../node_modules/react-native-charts-wrapper' to pod 'react-native-charts-wrapper', :path => '../node_modules/react-native-charts-wrapper' 참고 https://github.com/wuxudong/react-native-charts-wrapper/issues/864#issuecomment-1145729565 [!] No podspec found for `RNCharts` in..
-
[React-Native][Error] 앱 흰색화면 에러 (앱 실행이 안됨)React-Native/Error 2022. 11. 20. 19:17
최근에 React-Native에서 HotFix로 인하여 react-native 라이브러리를 업데이트하는 과정에서 생긴 오류입니다. react-native 0.66.1 -> 0.67.5 버전으로 올렸습니다. (react-native hotfix 된 버전으로 바꿈) 그리고 android에서 빌드를 하니까 react-native-reanimated 라이브러리 버전에 관련된 오류가 발생했습니다. 위의 에러를 고칠려면 react-native-reanimated 버전을 올려야 했습니다. 현재는 2.2.3 을 사용하고 있으나 최소 2.3.X 버전으로 올려야 위의 오류가 수정이 되었습니다. 하지만 에러 디버그 모드로 앱을 실행을 하니까 그냥 하얀색 화면만 나오고 에러코드도 나오지 않는 현상 원인 현재 프로젝트 라이브러..
-
[React-Native][Error] npm ERR! code ERESOLVEReact-Native/Error 2022. 11. 17. 00:50
npm install Error 가끔씩 잘 되던 npm install이 갑자기 error가 발생하는 경우가 있었을 것이다. 원인 - dependencies 버전 문제 - node와 npm 버젼이 맞지 않는 경우 - npm 7 버전으로 인한 경우 (이전의 npm 버전에서는 peer dependencies가 있으면 경고는 뜨지만 설치는 되었으나, npm 7 버전은 설치가 안됨) 해결 방법 npm install --force OR npm install --legacy-peer-deps npm install [라이브러리] --force OR npm install [라이브러리] --legacy-peer-deps 차이 --force : package-lock.json에 몇 가지의 다른 의존 버전들을 추가 ( 에러를..