2019년 11월 2일 토요일

react-native run-iosCommand `run-ios` unrecognized

윈도우 cmd에서


실행
npm install --save react-native@latest
실행
npm i npm@latest -g

실행
react-native init NewProject    <======   (프로젝트 이름을 원하는것으로 쓰세요.)

실행
react-native run-ios



이렇게 해봤는데 실패 했다.

이유는 윈도우에서

실행 해서 이다.


윈도우에서 ios 에뮬레이터 돌릴리면

vmware 를 쓰거나 버츄얼머신(virtual machine)을 써야 한다.

댓글 없음:

댓글 쓰기

react-native run-ios --simulator="iPhone 6"

react-native run-ios   --simulator="iPhone 6"