프론트엔드 2년 차
현재도 공부는 진행 중
학원 다닐 때 만들었던 포트폴리오를 다시 만들어야겠다는 생각이 들었다!
내가 구현할 수 있는 부분을 모아 한 프로젝트에 담을 예정이다.
이전과 달리 백엔드를 구성해 보기도 하고, 피그마라는 디자인 툴을 이용해보기도 할 것이다.
1. 프로젝트 생성!
npx react-native init AwesomeProject
오랜만에 만들어서인지 바로 문제가 발생했다.

Copying template에서 넘어가지 않는다....
(에러 내용 : Copying templateerror Installing pods failed. This doesn't affect project initialization and you can safely proceed.
However, you will need to install pods manually when running iOS, follow additional steps in "Run instructions for iOS" section)
공식문서를 참고해 보니 그럴 때에는 cli를 삭제하고 재설치하라 고한다.
https://reactnative.dev/docs/getting-started-without-a-framework
Get Started Without a Framework · React Native
If you have constraints that are not served well by a Framework, or you prefer to write your own Framework, you can create a React Native app without using a Framework.
reactnative.dev
1-1 ) npm uninstall -g react-native-cli @react-native-community/cli
이거 먼저 하고
1-2 ) npx @react-native-community/cli@latest init AwesomeProject

2) 성공!
'Development > ReactNative' 카테고리의 다른 글
[study] 기존 포트 :8081 말고 새로운 포트를 시작하는 방법 (0) | 2025.03.21 |
---|---|
[study] The project is using an incompatible version (AGP 8.8.0) of the Android Gradle plugin. Latest supported version is AGP 8.5.1 (0) | 2025.03.21 |
[study] WebView->React->특정 Url 로 이동하는 방법 (1) | 2024.11.27 |
[study] android gradle 7.4.2 -> 8.2.0 업데이트과정 (1) | 2024.11.11 |
[study] ios에서 스크롤 튕기는 효과 없애는 방법 (0) | 2024.07.05 |