[ React-Native CLI ] 설치후 Build 안되는 에러해결 방법
·
Error
react-native 0.72.6 버젼을 다음과 같이 설치했다.npx react-native@0.72.6 init --version 0.72.6설치이후에 프로젝트를 맥북에서 ios로 실행을 시켰는데 멈춘 코드지점Command line invocation: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace tttt.xcworkspace -configuration Debug -scheme tttt -destination id=26AFEFAB-4891-476B-A3A7-345D1AB17C5FUser defaults from command line: IDEPackageSupportUseBuiltinSCM = YESPr..
[ React-Native CLI ] 개발 오류 ❗️Execution failed for task ':react-native-safe-area-context:compileDebugKotlin'.
·
Error
2024.12.24 일에 발생한 오류❗️핵심 오류 문구Execution failed for task ':react-native-safe-area-context:compileDebugKotlin'.A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkActionCompilation error. See log for more details❗️진행도중의 오류 문항info Opening the app on Android...info JS server already running.info Installing the app...> Task :g..
Error: Element type is invalid: expected a string (for built-in components) or a class/function❗️
·
Error
❗️Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined.오류발생원인components 의 이름과 코드 경로가 잘못됬을경우 발생export default 작성하지 않을때도 발생본인은 뒤에 export default 작성하지 않아서 오류가 발생실수코드 예시'use client';import SideBar from '@/components/SideBar/SideBar';import ThumbnailEditor from '@/components/ThumbnailEditor/ThumbnailEditor';impor..
❗️Parsing error : Cannot find module 'next/babel’ 오류 해결
·
Error
{ "extends": ["next/babel", "next/core-web-vitals"]}Error 발생❗️Parsing error : Cannot find module 'next/babel’에러표시가 발생해도 웹은 정상적으로 동작했지만 코드상에서 에러표시가 너무 보기가 싫었다.next/babel 을 새로 설치하는 방법도 소용이 없었다.해결방법- eslintrc.json -{ "extends": ["next/babel", "next/core-web-vitals"]}extends 에 next/babel 을 추가하는 것으로 에러표시가 사라졌다. 어차피 eslint 오류라 별 상관 없는데 에러가 왜 발생하는지는 나도 잘 몰루?, 혹시 발생하더라도 바로 해결방법을 적용하지말고 프로젝트를 껐다 다시 켜보면..