본문 바로가기

프로그래밍

VMware mac 환경에서 react native 환경 설정

- node.js 설치 : expo 홈페이지를 통해 설치(expo.io/learn)

 

- expo 설치 : terminal에서 "npm install expo-cli --global" 명령어를 실행했더니, 다음과 같은 오류 발생

 

EACCES : permission denied

 

"sudo npm install expo-cli --global" 명령어로 실행하여 설치하니 성공.

 

- visual studio code 설치

 

- XCode 설치 (iOS 개발 툴)

 

- homebrew 설치 (macOS의 소프트웨어 패키지 관리 시스템. macOS 소프트웨어 설치를 단순하게 만들어줌)

terminal에서 아래 명령어로 설치

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

 

- watchman 설치 (파일 변경 추적을 위한 툴. 소스 변경시 다시 빌드해주는 역할)

 

- cocopods 설치 (xcode 프로젝트 라이브러리를 관리)

 

- react native cli 설치