Development/ReactNative

[study] 포트폴리오 재구성! 새 프로젝트 만들기 시작

mefd 2025. 3. 21. 14:08
728x90

프론트엔드 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) 성공!

728x90