REACT23 SVG 파일 사용하기 만약 잘사용하다가 아래 같은 이미지 에러가 생긴다면 svg 파일을 아이콘으로 사용하려고 import 하다가 발생한 에러다. 문자열로 줘야지 왜 숫자로 주냐라고 해당 컴포넌트를 확인해보라고 말하는데 나는 영어를 잘해서 좀더 상세히 알고 싶다면 아래 링크를 클릭해서 살펴보면 된다. https://github.com/kristerkari/react-native-svg-transformer GitHub - kristerkari/react-native-svg-transformer: Import SVG files in your React Native project the same way that you would in Import SVG files in your React Native project the same.. 2021. 5. 17. react-native-screens could not be found within the project or in these directories 원래는 yarn add @react-navigation/native react-native-reanimated react-native-gesture-handler react-native-screens react-native-safe-area-context @react-native-community/masked-view 전체 다 설치해줘야 하지만 불필요한 라이브러리를 설치 안하기 위해 하나씩 해서 react-native-screens 설치를 빼먹은 실수다 오류 메시지처럼 yarn add react-native-screens 설치 해주면 된다. 2021. 5. 14. if (e.name === 'BrowserslistError') throw e react 실행중에 아래와 같은 오류가 뜬다면 package.json 의 "browserslist" 내용이 제대로 입력 되어 있는지 확인하고 알맞게 다시 수정해주면 된다. 2020. 2. 25. 이전 1 ··· 3 4 5 6 다음 반응형