일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
- 클론코딩
- 프론트엔드
- SQL
- 국비지원
- spring boot
- 코딩
- 자바
- 서버 배포
- 프론트 엔드
- 스프링 부트
- 스프링
- 서버 개발자
- 풀스택
- 스타트업
- docker
- JPA
- 개발자
- react native
- 비전공자
- 무중단 배포
- 리엑트 네이티브
- react
- 리엑트
- Java
- Spring
- Redux
- 백엔드
- react-native
- 개발
- github actions
- Today
- Total
목록에러 모음/react-native (9)
오티스의개발일기

에러내용 LOG Running "baund" with {"rootTag":291,"initialProps":{}} ERROR Warning: useEffect must not return anything besides a function, which is used for clean-up. It looks like you wrote useEffect(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately: useEffect(() => { async function fetchData() { // You can await here const response ..

구글 설정시 webClientid 를 적어주는데 안드로이드는 파이어베이스에서 제공해주는걸 사용 아이폰은 GoogleService-Info.plist 안에있는 client_id 사용해야함 GoogleSignin.configure({ webClientId: Platform.OS === 'ios' ? 'iOS Client Id' : 'Client Id From Google services.json' }),
구글 로그인 연동시 필요한 설정을 하고 build 중 저런 에러를 만나게됬다. 결과적으로 주석처리 하나면 끝난다 /ios/Podfile # FlipperConfiguration.enabled, 이부분을 주석처리하면 됨 require_relative '../node_modules/react-native/scripts/react_native_pods' require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules' use_frameworks! :linkage => :static # true # config[:reactNativePath], # Hermes is now enabled by default. Disa..
npm install @react-navigation/native npm install react-native-reanimated react-native-gesture-handler react-native-screens react-native-safe-area-context @react-native-community/masked-view cd ios pod install cd .. npm run ios npm start 모듈 받고 위 순서대로 하면 해결됨 참조 https://stackoverflow.com/questions/66921263/invariant-violation-requirenativecomponent-rnsscreen-was-not-found-in-the-ui Invariant Violat..
에러 [!] Do not use "pod install" from inside Rosetta2 (x86_64 emulation on arm64). [!] - Emulated x86_64 is slower than native arm64 [!] - May result in mixed architectures in rubygems (eg: ffi_c.bundle files may be x86_64 with an arm64 interpreter) [!] Run "env /usr/bin/arch -arm64 /bin/bash --login" then try again. 해결방법 sudo arch -x86_64 gem install ffi arch -x86_64 pod install
ERROR: Error installing cocoapods: ERROR: Failed to build gem native extension. current directory: /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.5/ext/ffi_c /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby -I /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0 -r ./siteconf20230103-7169-48hhzo.rb extconf.rb checking for ffi.h... *** extconf.rb failed *** Could n..
에러 [!] /bin/bash -c set -e #!/bin/bash # Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. set -e PLATFORM_NAME="${PLATFORM_NAME:-iphoneos}" CURRENT_ARCH="${CURRENT_ARCH}" if [ -z "$CURRENT_ARCH" ] || [ "$CURRENT_ARCH" == "undefined_arch" ]; then # Xcode 10 beta sets CUR..

이번에 드디어 맥북을 구매하였다 맥북을 구매하고 소프트웨어 업데이트후 여러가지 모듈 세팅이 끝난후 작업을 시작하려했지만 ios google signin 설정이 안되있어서 실패하였다. 나는 네이티브 개발자가 아니기때문에 이부분을 정말 모른다 그냥 무지하다 볼수있다. 그래서 유튜브를 보고 따라하다 계속 빌드에 실패해서 도큐멘트를 보고 따라하였다. 일단 처음봤던 유튜브는 https://www.youtube.com/watch?v=TdyiHng-1Ks&t=450s 이것을 참고하였으니 확인해보길 바란다 대략적으로 이곳에서 거의 모든것을 설명하기에 설명이 안된부분에 대해 나는 글을 쓰려고한다. 일단 Podfile 부분이다. 저 영상을 찍을 당시와 지금은 너무 달라서 도큐멘트를 꼭 참고해야한다는걸 이번에 깊게 깨달았다..

extraReducers: { // 비동적인 엑션을 넣는다 외부적인 액션 (예를들어 userSlice에서 post의 액션을 써야할때 이곳에 적는데 그때는 동기가아니고 비동기여도 넣는다.) [logInRequest.pending](state, action) { state.loading = true; }, [logInRequest.fulfilled](state, action) { state.user = action.payload; state.loading = false; }, [logInRequest.rejected](state, action) { console.log('rejected 됨') console.log(action) state.user = null; state.loading = false; },..