본문 바로가기

카테고리 없음

React - Native

 npm install -g expo-cli

expo init

expo init를 할 경우 아래와 같은 에러가 뜰 경우 아래 링크 열어서 powershell 설정

Development/etc[PowerShell] "이 시스템에서 스크립트를 실행할 수 없으므로 ~.ps1 파일을 로드할 수 없습니다." 문제 해결 방법 에러 참

https://piaocanyi.tistory.com/301

 

 

› npx create-expo-app --template

√ What would you like to name your app? ... my-app
√ Choose a template: » blank               a minimal app as clean as an empty canvas
√ Downloaded template.
📦 Using npm to install packages.
√ Installed JavaScript dependencies.

✅ Your project is ready!

To run your project, navigate to the directory and run one of the following npm commands.

- cd my-app
- npm start # you can open iOS, Android, or web from here, or run them directly with the commands below.
- npm run android
- npm run ios # requires an iOS device or macOS for access to an iOS simulator
- npm run web

 

디폴트로  my-app이라는 경로로 설정을 했기에 

 

cd my-app npm run start