-
managed template typescript 로 시작했다가 낭패프로그래밍/ReactNative 2022. 4. 24. 12:43
처음엔 아슬아슬하게 괜찮은 듯 했으나
뭐 설치하니까 오류 떠버렸다
tsconfig.json 파일에 expo/tsconfig.base 부분에 빨간 줄이 떠서 검색을 해보고 그냥 간단하게
rm -rf node_modules
rm package-lock.json / rm yarn.lock
하고
yarn 으로 재설치하고 expo upgrade 해줬는데 오류가 더 떠버렸다 ㅋ ㅠ
참고한 블로그는 아래
[TIL] expo SDK 업데이트시, expo upgrade와 tsconfig.base.json
나는 2개의 컴퓨터에서 앱을 개발하는데, 요번에 SDK 버전을 올릴 일이 발생했다.그래서 1번 컴퓨터에서expo upgrade 명령으로 업그레이트 절차를 마친 뒤 git으로 올리고, 2번 컴퓨터에서 git pull을 통
velog.io
vector-icon import 부분까지 에러가 떠서 검색해봐서 github issue 나온대로
expo error react vector-icons
https://github.com/oblador/react-native-vector-icons/issues/1031
Unable To Resolve Module @expo vector-icons · Issue #1031 · oblador/react-native-vector-icons
I am having this issue. When I include the vector-icon library in the standard form like below: it gives me below error screen: and here is the error screen on mobile: But when import it using abso...
github.com
expo install @expo/vector-icons 로 다시 설치했는데도 에러 떠서 그냥 돌이킬 수 없기 전에 typescript 를 포기하고 다시 js 로 프로젝트를 시작했다는 슬픈 이야기
문서를 잘 읽어보고 시작하자 ...
https://docs.expo.dev/guides/typescript/
TypeScript - Expo Documentation
Expo is an open-source platform for making universal native apps for Android, iOS, and the web with JavaScript and React.
docs.expo.dev