ERROR
-
[eslint] Unexpected use of continue statement no-continueERROR 2025. 6. 19. 22:08
ESLint의 no-continue 규칙이 활성화되어 있을 때 발생 해결 방안 continue 대신 if문 사용no-continue 룰을 비활성화해당 라인에서 ESLint를 무시하도록 설정 마지막 방법을 사용하여 해결// eslint-disable-next-line no-continue 주석을 작성하여 그 다음 한 줄의 ESLint 검사를 비활성화if (조건) { // eslint-disable-next-line no-continue continue;}
-
[iOS] safari 검사할 수 있는 응용 프로그램 없음ERROR 2025. 6. 17. 20:06
React Native에서 하이브리드 앱(WebView 포함) 디버깅 시, 특히 iOS 시뮬레이터에서 Safari로 WebView 디버깅이 안 되는 문제 Safari - 개발자용 - 시뮬레이터 - 앱 (검사할 수 있는 응용 프로그램 없음)node_modules / react-native-webview / apple / RNCWebViewImpl.minitializeWebView 하단 _webView.inspectable = YES; 로 변경 없으면 아래 코드 추가if (@available(iOS 16.4, *)) { _webView.inspectable = YES;}
-
iOS Metro 서버와 연결 안됨ERROR 2025. 6. 11. 21:34
iOS 기기 Metro 서버와 연결 안될 때 reload해도 아래 문구만 반복 info Reloading connected app(s)...warn No apps connected. Sending "reload" to all React Native apps failed. Make sure your app is running in the simulator or on a phone connected via USB. * 같은 네트워크 사용 확인* [Xcode] - [Edit Scheme...] - [Info] - [Build Configuration] - [Debug]로 설정Release로 되어 있어서 발생했다.
-
[!] Invalid `Podfile` file: [!] Invalid `RNReanimated.podspecERROR 2025. 3. 4. 18:30
pod install 시 아래와 같은 에러가 발생unsupported React Native version 문구를 확인하고package.json 파일에서 react-native 버전 74 -> 75로 변경 후 해결 Using Expo modules[Expo] Enabling modular headers for pod ExpoModulesCore[Expo] Enabling modular headers for pod sqlite3[!] Invalid `Podfile` file: [!] Invalid `RNReanimated.podspec` file: [Reanimated] Unsupported React Native version. Please use 75 or newer.. # --------------..
-
Render ErrorReact.Children.only expected to receive a single React element child.ERROR 2025. 2. 7. 18:03
Render ErrorReact.Children.only expected to receive a single React element child. 에러 문구처럼 오류가 발생한 컴포넌트의 하위(자식) 컴포넌트가 하나가 아닌 여러 개인 경우 발생합니다.TouchableWithoutFeedback에서 발생하여 하위 컴포넌트들을 View로 감싸서 해결하였습니다.
-
EMFILE: too many open files, watchERROR 2024. 12. 13. 09:36
Error: EMFILE: too many open files, watch at FSWatcher._handle.onchange (node:internal/fs/watchers:207:21)Emitted 'error' event on NodeWatcher instance at: at FSWatcher._checkedEmitError (node:events:519:28) at FSWatcher._handle.onchange (node:internal/fs/watchers:213:12) { errno: -24, syscall: 'watch', code: 'EMFILE', filename: null} react-native 프로젝트에서 npm start 입력 또는 XCode 빌드 실패 ..