묻고 답해요
130만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결비전공자를 위한 진짜 입문 올인원 개발 부트캠프
그림 링크 오류
Failed to load resource: the server responded with a status of 403 () 이런 에러가 뜨는데 어떻게 해결하나요ㅜ
-
해결됨
react native에서 nmap 설치 후 Component 'RCTView' re-registered direct event 'topClick' as a bubbling event 에러가 발생합니다
react native 0.73.1node 20.10.0NMapsMap 3.17.0npm i https://github.com/zerocho/react-native-naver-map를 사용해서 nmap을 설치했습니다android 기기에서는 정상적으로 빌드 되는데, ios 시뮬레이터에서는 빌드는 되지만, 아래의 오류가 발생합니다 Component 'RCTView' re-registered direct event 'topClick' as a bubbling event RCTModuleConstantsForDestructuredComponent RCTUIManager.m:1533 moduleConstantsForComponentData __28-[RCTUIManager getConstants]_block_invoke __NSDICTIONARY_IS_CALLING_OUT_TO_A_BLOCK__ -[__NSDictionaryM enumerateKeysAndObjectsWithOptions:usingBlock:] -[RCTUIManager getConstants] -[RCTUIManager constantsToExport] -[RCTModuleData gatherConstantsAndSignalJSRequireEnding:] -[RCTModuleData exportedConstants] facebook::react::RCTNativeModule::getConstants() facebook::react::ModuleRegistry::getConfig(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) facebook::react::JSINativeModules::createModule(facebook::jsi::Runtime&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) facebook::react::JSINativeModules::getModule(facebook::jsi::Runtime&, facebook::jsi::PropNameID const&) facebook::react::JSIExecutor::NativeModuleProxy::get(facebook::jsi::Runtime&, facebook::jsi::PropNameID const&) facebook::jsi::DecoratedHostObject::get(facebook::jsi::Runtime&, facebook::jsi::PropNameID const&) facebook::hermes::HermesRuntimeImpl::JsiProxy::get(hermes::vm::SymbolID) hermes::vm::JSObject::getComputedWithReceiver_RJS(hermes::vm::Handle<hermes::vm::JSObject>, hermes::vm::Runtime&, hermes::vm::Handle<hermes::vm::HermesValue>, hermes::vm::Handle<hermes::vm::HermesValue>) hermes::vm::CallResult<hermes::vm::HermesValue, (hermes::vm::detail::CallResultSpecialize)2> hermes::vm::Interpreter::interpretFunction<false, false>(hermes::vm::Runtime&, hermes::vm::InterpreterState&) hermes::vm::Runtime::interpretFunctionImpl(hermes::vm::CodeBlock*) hermes::vm::Runtime::runBytecode(std::__1::shared_ptr<hermes::hbc::BCProviderBase>&&, hermes::vm::RuntimeModuleFlags, llvh::StringRef, hermes::vm::Handle<hermes::vm::Environment>, hermes::vm::Handle<hermes::vm::HermesValue>) facebook::hermes::HermesRuntimeImpl::evaluatePreparedJavaScript(std::__1::shared_ptr<facebook::jsi::PreparedJavaScript const> const&) ... 중략 ... std::__1::function<void ()>::operator()() const invocation function for block in facebook::react::RCTMessageThread::runAsync(std::__1::function<void ()>) __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ __CFRunLoopDoBlocks __CFRunLoopRun CFRunLoopRunSpecific +[RCTCxxBridge runRunLoop] __NSThread__start__ _pthread_start thread_start
-
미해결배달앱 클론코딩 [with React Native]
ios 세팅 중 pod install 오류 질문 드립니다 (M1 Mac)
안녕하세요 제로초님 윈도우로만 작업을 하다가 ios에서 환경세팅을 하는데 에러가 나서 질문 드립니다. 강의에 있는 FoodDeliveryApp은 아니고 공식 문서 설명대로 새로운 프로젝트를 생성해서 따라하고 있었습니다. 애러는 ios 폴더에서 pod install을 했을 때 났습니다. 아래는 pod install을 한 후의 과정입니다! % pod installFramework build type is static library[Codegen] Generating ./build/generated/ios/React-Codegen.podspec.json[Codegen] generating an empty RCTThirdPartyFabricComponentsProviderAnalyzing dependenciesFetching podspec for DoubleConversion from ../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec[Codegen] Found FBReactNativeSpecFetching podspec for RCT-Folly from ../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec[Codegen] Found rncoreFetching podspec for boost from ../node_modules/react-native/third-party-podspecs/boost.podspecFetching podspec for glog from ../node_modules/react-native/third-party-podspecs/glog.podspecFetching podspec for hermes-engine from ../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec[Hermes] Using release tarball from URL: https://repo1.maven.org/maven2/com/facebook/react/react-native-artifacts/0.73.1/react-native-artifacts-0.73.1-hermes-ios-debug.tar.gzDownloading dependenciesInstalling CocoaAsyncSocket (7.6.5)Installing DoubleConversion (1.1.6)Installing FBLazyVector (0.73.1)Installing FBReactNativeSpec (0.73.1)Installing Flipper (0.201.0)Installing Flipper-Boost-iOSX (1.76.0.1.11)Installing Flipper-DoubleConversion (3.2.0.1)Installing Flipper-Fmt (7.1.7)Installing Flipper-Folly (2.6.10)Installing Flipper-Glog (0.5.0.5)Installing Flipper-PeerTalk (0.0.4)Installing FlipperKit (0.201.0)Installing OpenSSL-Universal (1.1.1100)Installing RCT-Folly (2022.05.16.00)Installing RCTRequired (0.73.1)Installing RCTTypeSafety (0.73.1)Installing React (0.73.1)Installing React-Codegen (0.73.1)Installing React-Core (0.73.1)Installing React-CoreModules (0.73.1)Installing React-Fabric (0.73.1)Installing React-FabricImage (0.73.1)Installing React-ImageManager (0.73.1)Installing React-Mapbuffer (0.73.1)Installing React-NativeModulesApple (0.73.1)Installing React-RCTActionSheet (0.73.1)Installing React-RCTAnimation (0.73.1)Installing React-RCTAppDelegate (0.73.1)Installing React-RCTBlob (0.73.1)Installing React-RCTFabric (0.73.1)Installing React-RCTImage (0.73.1)Installing React-RCTLinking (0.73.1)Installing React-RCTNetwork (0.73.1)Installing React-RCTSettings (0.73.1)Installing React-RCTText (0.73.1)Installing React-RCTVibration (0.73.1)Installing React-callinvoker (0.73.1)Installing React-cxxreact (0.73.1)Installing React-debug (0.73.1)Installing React-graphics (0.73.1)Installing React-hermes (0.73.1)Installing React-jserrorhandler (0.73.1)Installing React-jsi (0.73.1)Installing React-jsiexecutor (0.73.1)Installing React-jsinspector (0.73.1)Installing React-logger (0.73.1)Installing React-nativeconfig (0.73.1)Installing React-perflogger (0.73.1)Installing React-rendererdebug (0.73.1)Installing React-rncore (0.73.1)Installing React-runtimeexecutor (0.73.1)Installing React-runtimescheduler (0.73.1)Installing React-utils (0.73.1)Installing ReactCommon (0.73.1)Installing SocketRocket (0.6.1)Installing Yoga (1.14.0)Installing boost (1.83.0)[!] Error installing boostVerification checksum was incorrect, expected 6478edfe2f3305127cffe8caf73ea0176c53769f4bf1585be237eb30798c3b8e, got 5e89103d9b70bba5c91a794126b169cb67654be2051f90cf7c22ba6893ede0ff[!] 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. 이 에러가 나오고 제가 한 과정은 다음과 같습니다. 할 때마다 pod deintegrate는 해줬습니다! 터미널 로제타로 열기 해제 -> 원인이 아니었던 것 같습니다. 다시 로제타로 열기 체크 해줬습니다.https://stackoverflow.com/questions/77738691/error-installing-boost-verification-checksum-was-incorrect-expectedError installing boost 애러를 해결하기 위해서 위의 글을 따라했지만 동일한 에러가 나왔습니다.'env /usr/bin/arch -arm64 /bin/bash --login' 명령어를 입력한 후에 pod install을 실행했지만 동일했습니다.ruby 버전이 맞지 않는 것 같아서 rbenv를 설치한 후에 rbenv global 2.7.5 명령어를 실행했습니다.해당글을 보고 ffi를 설치해준 후에 arch -x86_64 pod install 명령어를 실행했습니다!공식문서에서 bundle install을 하라고 해서 설치 후에 bundle exec pod install 해줬습니다프로젝트를 몇번 지웠다가 다시 실행중인데 계속해서 오류가 동일한 오류가 뜨네요! (설치한 게 적용이 안됐나 싶어서 전원도 껐다가 켰는데 동일합니다) 혼자 힘으로 어떻게든 해결해보려고 연휴 내내 잡고 있었는데 아직 많이 부족한 것 같습니다. 이미 너무 많은 시도와 설치를 해서 어디가 잘못됐는지도 감이 안잡히는 상태라 초기화도 생각하고 있습니다. 질문 받아주셔서 감사합니다 제로초님! 새해 복 많이 받으세요
-
해결됨배달앱 클론코딩 [with React Native]
DissmissKeyboardView에서 pressable대신 TouchableWithiutFeedBack을 쓰신 이유가 있을까요?
강의에서 주로 pressable쓰시다가 DismissKeyboard 컴포넌트에서는 TouchableWithoutFeedback을 쓰셨는데 아직 각각 어느상황에서 쓰이는지 잘 모르겠습니다.
-
해결됨핸즈온 리액트 네이티브
2.1 오류 질문
2.1 프로젝트 준비하기에서cd git이 아니라 cd .git으로 했고 거기서 npx create-expo-app rn-calc를 해서 생성했습니다 code .으로 실행 하니까 이런식으로 나왔는데 영상에서는 expo-shared 라는 파일이 assets위에 있었는데 제 프로젝트에는 없습니다. 맥 환경과 윈도우 환경에 따른 차이일까요?rn-calc 프로젝트에서 npm start를 했을 때 QR코드가 뜬 뒤에 이런 에러가 나왔습니다 그 이후로 my-first-rn이나 rn-calc에서 npm start를 하면 이런 화면만 계속 나오고 폰을 흔들어봐도 응답이 없습니다.
-
해결됨핸즈온 리액트 네이티브
안드로이드 스튜디오 오류
1장부터 난관이네요 ㅠ구글 플레이 스토어 같은 어플 다운 받는 플렛폼이 없습니다. 완전 초기상태이구요영상 대로 했습니다 expo 다운 받아야 다음 영상으로 넘어갈 탠데 어떻게 해야하나요 크롬 켜면 화면이 엄청 깨져서 진행을 못하고있습니다
-
미해결배달앱 클론코딩 [with React Native]
앱 심사 제출 시 '의심스러운 로그인 시도' 문제
안녕하세요.강의 잘 듣고 앱을 만들어서 심사까지 제출해봤는데요,앱 심사 시 앱 기능들을 테스트를 해볼 수 있는 아이디와 비밀번호를 제출해야해서구글 아이디와 비밀번호를 제출했습니다.(제가 만든 앱은 현재 구글 OAuth 로그인만 지원됩니다.) 심사 결과로 '의심스러운 로그인 시도로 분류되어 로그인할 수 없으니 다른 방법으로 다시 제출해라'라고 왔는데, 이런 상황에서는 어떻게 하나요?참고로 2차 인증도 설정이 안 되어 있는 계정인데 로그인 위치가 말레이시아라서 로그인이 막힌거 같습니다ㅜ
-
미해결비전공자를 위한 진짜 입문 올인원 개발 부트캠프
에러는 안나는데 그림이 안뜹니다
그랩마켓 자바스크립트 적용하기 -2 편에서 다 되는데 농구공 그림이 안떠요 <html> <head> <title>그랩마켓</title> <link href="index.css" type="text/css" rel="stylesheet" /> </head> <body> <div id="header"> <div id="header-area"> <img src="images/icons/logo.png" /> </div> </div> <div id="body"> <div id="banner"> <img src="images/banners/banner1.png"> </div> <h1>판매되는 상품들</h1> <div id="product-list"> </div> </div> <div id="footer"></div> </body> <script> var product = [{ name : '농구공', price : 10000, seller : '조던', imagUrl : '/images/products/basketball1.jpeg' },{ name : '축구공', price : 50000, seller : '메시', ImageUrl : '/images/prodocts/soccerball1.jpg' },{ name : '키보드', price : 10000, seller :'그랩', ImageUrl : '/images/prodocts/keyboard.jpg' }]; document.querySelector("#product-list").innerHTML = '<div class="product-card>'+ "<div>" + '<img class="product-img" src="images/products/basketball1.jpeg" />' + "</div>" + '<div class="product-contents">' + '<span class="product-name">농구공 1호</span>' + '<span class="product-price">50000원</span>' + '<div class="product-seller">' + '<img class="product-avatar" src="images/icons/avatar.png" />'+ "<span>그랩</span>" + "</div>" + "</div>" + "</div>" </script> </html>
-
미해결배달앱 클론코딩 [with React Native]
안녕하세요 react native expo 관련 강의는 하실 생각 없으실까요?
안녕하세요, cli강의에서 react native expo를 사용하지 않는 이유로네이티브 라이브러리와의 호환성 문제를 꼽으셨는데 최근 prebuild 기능을 사용하면expo에서도 네이티브 라이브러리를 가져다 쓸 수 있게 업데이트가 되었고expo의 최적화 문제도 어느정도 해결이 되었다는 소식을 들어서, 혹시 expo 관련 강의는 해보실 생각이 없을까 싶어 여쭙습니다. 특히 expo가 최근에 업데이트하면서 많이 바뀌었는데 최신버전 강의 영상이 아예 없더라고요.. 그래서 혹시 여전히 expo는 업데이트가 되었어도 실무에서 사용할 수 없다고 생각하시는건지 궁금합니다
-
미해결따라하며 배우는 리액트 네이티브 기초
Remote notification 강의는 없을까요?
Remote notification 관련 내용은 안올라올까요?? ios local notification 강의에서 remote 강의가 나온다고 하셨는데 async storage 강의가 나와서요.
-
미해결처음 배우는 리액트 네이티브
선생님 도와주세요 ㅠㅠ (로그인, 회원가입, 콘솔 에러)
3가지의 문제가 있습니다 ㅎㅎ..섹션 9. 기능 구현 - 회원가입 에서 다 잘됐는데, 회원가입의 Input 값을 모두 입력한 후 Sign up 버튼을 누르면 어플이 꺼집니다. 파이어베이스에 회원 데이터는 잘 들어와있습니다.섹션 10. 인증과 화면전환에서 src\navigations\index.js 중 <NavigationContainer>{user.uid ? <Main /> : <Auth />}</NavigationContainer> 해당 코드를 입력하고 로그인을 시도하니 Render Error가 뜹니다 ㅠㅠ.. 이건 에러가 아니고 경고인데, 어느 순간부터 프로젝트를 실행시키면 콘솔 워닝이 뜹니다. 코딩하는데 불편은 없지만 해결할 수 있으면 해결하고 싶어요..소스코드 주소 : https://github.com/jeong0903/RN-chatting.git 답변 기다리겠습니다 ㅜㅜ!!
-
미해결배달앱 클론코딩 [with React Native]
No APNS token specified before fetching FCM Token
현재 실제 ios 기기에서 테스트 중입니다.2일 전에 푸시 알림 기능 구현 후 푸시 알림이 잘 오는 것 까지 모두 확인했습니다.이후 스플래시 화면 포함한 몇 가지 기능 구현 후 배포 전에 다시 푸시 알림 기능을 다시 테스트해봤는데No APNS token specified before fetching FCM Token이라는 에러가 뜹니다.혹시 어디서 잘못됐는지 알 수 있을까요?
-
해결됨배달앱 클론코딩 [with React Native]
[푸시알림] onRegister에서 생성한 토큰과 messaging.getToken에서 생성한 토큰 차이점
제공해주신 코드에서 보면 토큰이 두 종류가 있습니다.// 1번째 토큰 PushNotification.configure( onRegister: function (token: any) { console.log(token); } // ... ) // 2번째 토큰 const token = messaging().getToken();두 토큰 값이 다르던데, 둘 중 아무거나 서버에 보내줘도 되는건가요?
-
해결됨배달앱 클론코딩 [with React Native]
React-Native 신규 강의 계획 있으시나요!!
안녕하세요 제로초 선생님국내 잘 없는 리액트 네이티브 강좌의 한줄기 빛 같은 소중한 강의 정말 감사하게 잘 듣고 있습니다! 리액트 네이티브 신규 강의 계획이 있으신 지 궁금합니다!아직 기존 강의도 이제 시작했지만, 신규 강의를 희망하는 마음에 글 작성해봅니다 ㅎㅎ 본질과 원리 이해의 중요성을 일깨워 주시는 강의에 진심으로 감사합니다.프로그래밍 강의를 해주셔서 정말 감사합니다.남은 올해 마무리 잘 되시길 바라며, 내년에도 좋은 일 가득하시길 바랍니다 😊
-
미해결따라하며 배우는 리액트 네이티브 기초
안녕하세요
지금 강의를 듣고있는데 섹션5 [React Nagivation을 이용해서 라우팅 구현하기] 여기에서 IOS로만 하시는데 윈도우에서 안드로이드로 강의를 따라가고 있는 입장에서는 어떻게 해야하는 걸까요? 제가 expo 부분부터 widow- android studio로만 강의를 따라왔었는데 expo 에서 window - IOS 로도 개발을 따라 했었어야 했을까요?ㅜ Android Studio로는 실행을 어떻게 해야할지 안내가 안되어 있어서 막막해서요 제가 뭘 놓친건지 헷갈리네요 갑자기ㅠㅠ
-
미해결핸즈온 리액트 네이티브
에뮬레이터가 안켜지는데 없이 강의를 진행해도 되나요?
에뮬레이터가 안켜지는데 에뮬레이터없이 강의를 진행해도될까요? expo go 어플을 통해서 휴대폰과 연결은 되어있습니다. 현재 리액트네이티브 페이지에서 설명하는 버전을 설치하고 실행을 해봤고 강의내용과같은 버전에서 실행을 해봤으나 에뮬레이터가 실행되다가 꺼지거나 Android Emulator closed unexpectedly 이런문구가 뜨던가, 실행이 되어있다가 npx expo 를 실행해서 안드로이드를 연결하려고 하면 꺼지고 있습니다. 문제점을 검색해봤을때 저장공간이 부족할때도 있다고 하던데 2GB정도만 있어도 괜찮다고하여 문제는 아닌것같고, 환경변수를 찾아보았지만 sdk manager의 주소와 일치하였습니다, 또 system image를 확인해서 강의내용과 똑같이 설치했음을 확인했습니다. 이 과정을 버전을 다를때 두번다 체크했습니다.
-
미해결iOS/Android 앱 개발을 위한 실전 React Native - Basic
VIsual studio code 에서 react-native run-android 실행시 오류
다음과 같이 오류가 나옵니다.안드로이드 에뮬레이터는 실행되지만 APP.js에서 작성한 코드를 띄우려 시도 불가입니다.FAILURE: Build failed with an exception.* What went wrong:Could not initialize class org.codehaus.groovy.runtime.InvokerHelper> Exception java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.reflection.ReflectionCache [in thread "Daemon worker"]* Try:Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.* Get more help at https://help.gradle.orgBUILD FAILED in 4serror Failed to install the app. Make sure you have the Android development environment set up: https://facebook.github.io/react-native/docs/getting-started.html#android-development-environment. Run CLI with --verbose flag for more details.Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081FAILURE: Build failed with an exception.* What went wrong:Could not initialize class org.codehaus.groovy.runtime.InvokerHelper> Exception java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.reflection.ReflectionCache [in thread "Daemon worker"]* Try:Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.* Get more help at https://help.gradle.orgBUILD FAILED in 4sat checkExecSyncError (child_process.js:616:11)at execFileSync (child_process.js:634:13)at runOnAllDevices (C:\Users\82107\kkk\my_first_app\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:94:39)at process._tickCallback (internal/process/next_tick.js:68:7)
-
미해결핸즈온 리액트 네이티브
expo프로젝트 생성후 연결하는과정
주소가 다르다, 로그인을 해야한다 등등 여러가지 해결방법을 찾아 해보았지만 여전히 문제가 해결되고 있지 않아서 질문드립니다.주소가 다르다해서 ip주소 끝자리를 다시맞춰보는 방법을 해보았고, expo에서 가입한 아이디로 로그인을 하는방법도 해보았으며 현재상태는처음엔 Uncaught Error: .java.net.SocketTimeoutException: failed to connect to /192.168.233.120(port(8081) from /192.168.233.122(port 50322) after 1000 ms이런식으로 ip주소의 끝자리만 다르게 문제가 발생하였지만 이후엔 연결표시만 계속 뜨고있습니다.무슨문제인지 정확히 해결방법을 모르겠어서 질문드립니다.
-
해결됨비전공자를 위한 진짜 입문 올인원 개발 부트캠프
expo 시작 오류
expo를 global로 설치하고 init까지 한 후npm start를 했을 때 일단 아래처럼 에러가 발생합니다.Unable to find expo in this project - have you run yarn / npm install yet?-> 이건 npm install을 해서 해결 했습니다. 그런데 그 후에도 또 아래와 같은 에러가 발생합니다.PS D:\Programming\study\Inflearn\FullStack\project\grab-market-mobile> npm start> grab-market-mobile@1.0.0 start> expo startStarting project at D:\Programming\study\Inflearn\FullStack\project\grab-market-mobileStarting Metro BundlerFetchError: request to https://api.expo.dev/v2/sdks/49.0.0/native-modules failed, reason: self signed certificate in certificate chainFetchError: request to https://api.expo.dev/v2/sdks/49.0.0/native-modules failed, reason: self signed certificate in certificate chain at ClientRequest.<anonymous> (D:\Programming\study\Inflearn\FullStack\project\grab-market-mobile\node_modules\node-fetch\lib\index.js:1501:11) at ClientRequest.emit (node:events:513:28) at TLSSocket.socketErrorListener (node:_http_client:494:9) at TLSSocket.emit (node:events:513:28) at emitErrorNT (node:internal/streams/destroy:157:8) at emitErrorCloseNT (node:internal/streams/destroy:122:3) at processTicksAndRejections (node:internal/process/task_queues:83:21)이건 어떻게 해결해야 하나요?
-
미해결배달앱 클론코딩 [with React Native]
api 서버 호출이 안됩니다
안녕하세요api 서버 호출이 안됩니다api 서버 연결까지는 되는데 호출에서 문제가 있습니다post가 안되는건가 싶어서 get으로 바꾸고 직설적으로 json 호출만 해보려고해도 안됩니다.. get으로 바꾸고 아예 주소에서 http://IP주소:3105/user 찍어봐도요런화면뿐... 서버쪽 파일은 강사님이 주신 폴더 그대로 받아서 설치했습니다폴더 위치는 root > back 이렇게 들어있는데 폴더 위치가 문제인걸까요.. axios 문제는 아닌게 다른 open api 호출은 잘만됩니다