# linux
sudo apt update
sudo apt install nodejs npm
# mac
brew install node
# globally install react-native and react-native-cli
$ npm install -g react-native
$ npm install -g react-native-cli
# Project 생성 및 package 설치
$ npx react-native init StockAlarm
$ cd StockAlarm
# expo 설치
npm install -g expo-cli
# blank typescript 만들기
npx create-expo-app frontend --template expo-template-blank-typescript
# web 을 위한 package 설치
cd frontend
npx expo install react-dom react-native-web @expo/metro-runtime
# chart graph 를 위한 pakcage 설치
npx expo install react-native-chart-kit react-native-svg
# guage bar 를 위한 pakcage 설치 (web, android)
npm install react-gauge-chart
npm install @shipt/segmented-arc-for-react-native
# dropdown 메뉴를 위한 package 설치
npm i react-native-paper react-native-dropdown-picker @react-navigation/native-stack @react-navigation/native
# 시작
npx expo start
# package errors
npx react-native doctor
# 동일 package 가 다른 버전으로 존재하는 경우 다음 에러 발생
Uncaught Error: Tried to register two views with the same name RNSVGSvgView